Modifier and Type | Field and Description |
---|---|
ModuleContext |
SimpleServiceRegistrator.mc |
ModuleContext |
SimpleServiceLocator.mc |
Constructor and Description |
---|
SimpleServiceLocator(ModuleContext mc) |
SimpleServiceRegistrator(ModuleContext mc) |
Modifier and Type | Field and Description |
---|---|
protected ModuleContext |
BusMember.owner |
Constructor and Description |
---|
BusMember(ModuleContext owner,
Object[] busFetchParams,
BusMemberType type) |
Callee(ModuleContext owner,
Object[] busFetchParams) |
Caller(ModuleContext owner,
Object[] busFetchParams) |
Publisher(ModuleContext owner,
Object[] busFetchParams) |
Subscriber(ModuleContext owner,
Object[] busFetchParams) |
Modifier and Type | Field and Description |
---|---|
protected ModuleContext |
BusStrategy.busModule |
protected ModuleContext |
AbstractBus.context |
Modifier and Type | Method and Description |
---|---|
static void |
AbstractBus.initBrokerage(ModuleContext mc,
AALSpaceManager aalSpaceMgr,
org.universAAL.middleware.modules.CommunicationModule commModule) |
String |
AbstractBus.register(ModuleContext module,
BusMember m,
BusMemberType type)
Registers a new bus member (adds a bus member to the list of all bus
members but only if it has not been added before).
|
Constructor and Description |
---|
AbstractBus(ModuleContext module,
String brokerName) |
Modifier and Type | Method and Description |
---|---|
boolean |
AccessControl.checkPermission(ModuleContext owner,
String busMemberURI,
Matchable m)
|
<T extends Matchable> |
AccessControl.checkPermission(ModuleContext owner,
String busMemberURI,
T[] m)
|
static Permission[] |
Permission.fromManifest(ModuleContext mc,
String brokerName,
boolean isAdvertisement,
boolean log) |
static Permission[] |
Permission.fromManifest(ModuleContext mc,
String brokerName,
String type,
boolean log) |
static void |
Permission.init(ModuleContext mc) |
void |
AccessControl.init(ModuleContext mc) |
void |
AccessControl.registerBusMember(ModuleContext owner,
BusMember m,
String brokerName) |
void |
AccessControl.unregisterBusMember(ModuleContext owner,
BusMember m) |
Modifier and Type | Method and Description |
---|---|
ModuleContext |
Container.installModule(ModuleContext requester,
Object[] installParams)
Provides possibility for programmatically installing (downloaded)
modules.
|
ModuleContext |
Container.registerModule(Object[] regParams)
Provides possibility for wrapping container-specific context for a module
in terms of an instance of the universAAL
ModuleContext . |
Modifier and Type | Method and Description |
---|---|
boolean |
ModuleContext.canBeStarted(ModuleContext requester)
Returns true if (1) the associated module has a status equivalent to the
OSGi ACTIVE , (2) it fulfills all prerequisites for being started, and
(3) the given requester is allowed to start it.
|
boolean |
ModuleContext.canBeStopped(ModuleContext requester)
Returns true if (1) the associated module would respond to a
stop request (cf. the OSGi Bundle State ACTIVE
), and (2) the given requester is allowed to stop it. |
boolean |
ModuleContext.canBeUninstalled(ModuleContext requester)
Returns true if (1) the associated module is in a state equivalent to the
OSGi Bundle States
INSTALLED or RESOLVED , and
(2) the given requester is allowed to uninstall it. |
Object |
Container.fetchSharedObject(ModuleContext requester,
Object[] fetchParams)
Returns an object previously shared by another module for usage within
this container.
|
Object[] |
Container.fetchSharedObject(ModuleContext requester,
Object[] fetchParams,
SharedObjectListener listener)
Returns an object previously shared by another module for usage within
this container.
|
ModuleContext |
Container.installModule(ModuleContext requester,
Object[] installParams)
Provides possibility for programmatically installing (downloaded)
modules.
|
File[] |
ModuleContext.listConfigFiles(ModuleContext requester)
Deprecated.
|
void |
Container.removeSharedObject(ModuleContext requester,
Object objToRemove,
Object[] shareParams)
Removes an object previously shared by a module for usage within this
container.
|
void |
Container.shareObject(ModuleContext requester,
Object objToShare,
Object[] shareParams)
Makes a given object accessible for the other modules hosted by this
container.
|
boolean |
ModuleContext.start(ModuleContext requester)
An authorized requester can use this method to start the current module.
|
void |
ModuleActivator.start(ModuleContext mc) |
boolean |
ModuleContext.stop(ModuleContext requester)
An authorized requester can use this method to stop the current module.
|
void |
ModuleActivator.stop(ModuleContext mc) |
boolean |
ModuleContext.uninstall(ModuleContext requester)
An authorized requester can use this method to uninstall the current
module.
|
Modifier and Type | Class and Description |
---|---|
class |
uAALBundleContext
An implementation of the concept of
ModuleContext for OSGi. |
Modifier and Type | Method and Description |
---|---|
ModuleContext |
uAALBundleContainer.installModule(ModuleContext requester,
Object[] installParams) |
ModuleContext |
uAALBundleContainer.registerModule(Object[] regParams) |
Modifier and Type | Method and Description |
---|---|
boolean |
uAALBundleContext.canBeStarted(ModuleContext requester) |
boolean |
uAALBundleContext.canBeStopped(ModuleContext requester) |
boolean |
uAALBundleContext.canBeUninstalled(ModuleContext requester) |
Object |
uAALBundleContainer.fetchSharedObject(ModuleContext requester,
Object[] fetchParams) |
Object[] |
uAALBundleContainer.fetchSharedObject(ModuleContext requester,
Object[] fetchParams,
SharedObjectListener listener) |
ModuleContext |
uAALBundleContainer.installModule(ModuleContext requester,
Object[] installParams) |
File[] |
uAALBundleContext.listConfigFiles(ModuleContext requester) |
void |
uAALBundleContainer.removeSharedObject(ModuleContext requester,
Object objToRemove,
Object[] shareParams) |
void |
uAALBundleContainer.shareObject(ModuleContext requester,
Object objToShare,
Object[] shareParams) |
boolean |
uAALBundleContext.start(ModuleContext requester) |
boolean |
uAALBundleContext.stop(ModuleContext requester) |
boolean |
uAALBundleContext.uninstall(ModuleContext requester) |
Modifier and Type | Method and Description |
---|---|
static void |
LogUtils.logDebug(ModuleContext mc,
Class claz,
String method,
Object[] msgPart,
Throwable t)
Provides a standard way for using container-specific loggers for logging
debug messages via
logDebug(String, String, Throwable) . |
static void |
LogUtils.logDebug(ModuleContext mc,
Class claz,
String method,
String msg)
Simplified proxy method for
LogUtils.logDebug(ModuleContext, Class, String, Object[], Throwable) ,
added for convenience. |
static void |
LogUtils.logError(ModuleContext mc,
Class claz,
String method,
Object[] msgPart,
Throwable t)
Provides a standard way for using container-specific loggers for logging
error messages via
logError(String, String, Throwable) . |
static void |
LogUtils.logError(ModuleContext mc,
Class claz,
String method,
String msg)
Simplified proxy method for
LogUtils.logError(ModuleContext, Class, String, Object[], Throwable) ,
added for convenience. |
static void |
LogUtils.logInfo(ModuleContext mc,
Class claz,
String method,
Object[] msgPart,
Throwable t)
Provides a standard way for using container-specific loggers for logging
info messages via
logInfo(String, String, Throwable) . |
static void |
LogUtils.logInfo(ModuleContext mc,
Class claz,
String method,
String msg)
Simplified proxy method for
LogUtils.logInfo(ModuleContext, Class, String, Object[], Throwable) ,
added for convenience. |
static void |
LogUtils.logTrace(ModuleContext mc,
Class claz,
String method,
Object[] msgPart,
Throwable t)
Provides a standard way for using container-specific loggers for logging
trace messages via
logTrace(String, String, Throwable) . |
static void |
LogUtils.logTrace(ModuleContext mc,
Class claz,
String method,
String msg)
Simplified proxy method for
LogUtils.logTrace(ModuleContext, Class, String, Object[], Throwable) ,
added for convenience. |
static void |
LogUtils.logWarn(ModuleContext mc,
Class claz,
String method,
Object[] msgPart,
Throwable t)
Provides a standard way for using container-specific loggers for logging
warn messages via
logWarn(String, String, Throwable) . |
static void |
LogUtils.logWarn(ModuleContext mc,
Class claz,
String method,
String msg)
Simplified proxy method for
LogUtils.logWarn(ModuleContext, Class, String, Object[], Throwable) ,
added for convenience. |
Modifier and Type | Method and Description |
---|---|
static ContextBus |
ContextBusFacade.fetchBus(ModuleContext mc) |
Constructor and Description |
---|
ContextPublisher(ModuleContext context,
ContextProvider providerInfo)
Creates a Context Publisher with the associated Context Provider
Information
|
ContextSubscriber(ModuleContext connectingModule,
ContextEventPattern[] initialSubscriptions)
Creates a Context Subscriber and immediately registers a set of Context
Event Patterns for it, so it receives the matching events.
|
DefaultContextPublisher(ModuleContext context,
ContextProvider providerInfo)
Creates a default Context Publisher with the given Provider Information.
|
Modifier and Type | Method and Description |
---|---|
static Scope |
Scope.moduleScope(String id,
PeerCard pc,
ModuleContext mc) |
Constructor and Description |
---|
ModuleScope(String id,
PeerCard pc,
ModuleContext mc)
Constructor using default instance (this), and ModuleContext for module
Id.
|
Modifier and Type | Method and Description |
---|---|
void |
OntologyManagement.addOntologyListener(ModuleContext owner,
OntologyListener listener)
Add a new ontology listener.
|
boolean |
OntologyManagement.register(ModuleContext mc,
Ontology ont)
Register a new ontology.
|
void |
OntologyManagement.removeOntologyListener(ModuleContext owner,
OntologyListener listener)
Remove an existing ontology listener.
|
void |
OntologyManagement.unregister(ModuleContext mc,
Ontology ont)
Unregister an ontology.
|
Modifier and Type | Method and Description |
---|---|
static ServiceBus |
ServiceBusFacade.fetchBus(ModuleContext mc) |
Constructor and Description |
---|
DefaultServiceCaller(ModuleContext context)
Constructor for usage by de-serializers.
|
ServiceCallee(ModuleContext context,
ServiceProfile[] realizedServices)
The default constructor for this class.
|
ServiceCallee(ModuleContext context,
ServiceProfile[] realizedServices,
boolean throwOnError)
The default constructor for this class.
|
ServiceCaller(ModuleContext context)
The default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
static IUIBus |
UIBusFacade.fetchBus(ModuleContext mc) |
Constructor and Description |
---|
UICaller(ModuleContext context)
Instantiates a new
UICaller . |
UIHandler(ModuleContext context,
UIHandlerProfile initialSubscription)
Instantiates a new
UIHandler . |
UIHandler(ModuleContext context,
UIHandlerProfile[] initialSubscriptions)
Instantiates a new
UIHandler . |
Modifier and Type | Field and Description |
---|---|
static ModuleContext |
UIPreferencesProfileActivator.context |
static ModuleContext |
UIMainMenuProfileActivator.context |
static ModuleContext |
LanguageActivator.context |
Modifier and Type | Method and Description |
---|---|
void |
ReasoningActivator.start(ModuleContext mc) |
void |
AVActivator.start(ModuleContext mc) |
void |
MeasurementActivator.start(ModuleContext mc) |
void |
UnitActivator.start(ModuleContext mc) |
void |
PhWorldActivator.start(ModuleContext mc) |
void |
LightingActivator.start(ModuleContext mc) |
void |
GesturePointingActivator.start(ModuleContext context) |
void |
QuestionnaireActivator.start(ModuleContext mc) |
void |
UIPreferencesProfileActivator.start(ModuleContext mc) |
void |
ContextHistoryActivator.start(ModuleContext mc) |
void |
UIMainMenuProfileActivator.start(ModuleContext mc) |
void |
ImpairmentActivator.start(ModuleContext mc) |
void |
DependabilityActivator.start(ModuleContext mc) |
void |
PersonalHealthDeviceActivator.start(ModuleContext mc) |
void |
MultimediaActivator.start(ModuleContext mc) |
void |
HandGesturesActivator.start(ModuleContext mc) |
void |
ContinuaHealthManagerActivator.start(ModuleContext mc)
Start
|
void |
LanguageActivator.start(ModuleContext mc) |
void |
ProfileActivator.start(ModuleContext mc) |
void |
X73Activator.start(ModuleContext mc) |
void |
FurnitureActivator.start(ModuleContext mc) |
void |
DeviceActivator.start(ModuleContext mc) |
void |
ReasoningActivator.stop(ModuleContext mc) |
void |
AVActivator.stop(ModuleContext mc) |
void |
MeasurementActivator.stop(ModuleContext mc) |
void |
UnitActivator.stop(ModuleContext mc) |
void |
PhWorldActivator.stop(ModuleContext mc) |
void |
LightingActivator.stop(ModuleContext mc) |
void |
GesturePointingActivator.stop(ModuleContext context) |
void |
QuestionnaireActivator.stop(ModuleContext mc) |
void |
UIPreferencesProfileActivator.stop(ModuleContext mc) |
void |
ContextHistoryActivator.stop(ModuleContext mc) |
void |
UIMainMenuProfileActivator.stop(ModuleContext mc) |
void |
ImpairmentActivator.stop(ModuleContext mc) |
void |
DependabilityActivator.stop(ModuleContext mc) |
void |
PersonalHealthDeviceActivator.stop(ModuleContext mc) |
void |
MultimediaActivator.stop(ModuleContext mc) |
void |
HandGesturesActivator.stop(ModuleContext mc) |
void |
ContinuaHealthManagerActivator.stop(ModuleContext mc)
Stop
|
void |
LanguageActivator.stop(ModuleContext mc) |
void |
ProfileActivator.stop(ModuleContext mc) |
void |
X73Activator.stop(ModuleContext mc) |
void |
FurnitureActivator.stop(ModuleContext mc) |
void |
DeviceActivator.stop(ModuleContext mc) |
Modifier and Type | Method and Description |
---|---|
void |
Activator.start(ModuleContext mc) |
void |
Activator.stop(ModuleContext mc) |
Modifier and Type | Method and Description |
---|---|
void |
DeseaseActivator.start(ModuleContext mc) |
void |
DeseaseActivator.stop(ModuleContext mc) |
Modifier and Type | Method and Description |
---|---|
void |
HealthActivator.start(ModuleContext mc) |
void |
HealthActivator.stop(ModuleContext mc) |
Modifier and Type | Method and Description |
---|---|
void |
HealthMeasruementActivator.start(ModuleContext mc) |
void |
HealthMeasruementActivator.stop(ModuleContext mc) |
Modifier and Type | Method and Description |
---|---|
void |
ContactActivator.start(ModuleContext mc) |
void |
ContactActivator.stop(ModuleContext mc) |
Copyright © 2015 universAAL Consortium. All rights reserved.