|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
Runner context. Holder for objects to be passed arround.
Method Summary | |
---|---|
Context |
addBundle(RunnerBundle bundle)
Adds a runner bundle to the list of bunsles to be installed in the platform |
java.util.List<RunnerBundle> |
getBundles()
Returns a list of runner bundles to be installed. |
CommandLine |
getCommandLine()
Returns the command line in use. |
Configuration |
getConfiguration()
Returns the configuration in use. |
org.apache.felix.framework.util.EventDispatcher |
getEventDispatcher()
Returns the event dispatcher in use. |
OptionResolver |
getOptionResolver()
Returns the option resolver in use. |
org.apache.felix.framework.ServiceRegistry |
getServiceRegistry()
Returns the service registry in use. |
java.util.Properties |
getSystemProperties()
Returns the system properties to be used for starting the platform. |
Context |
setCommandLine(CommandLine commandLine)
Sets the command line in use. |
Context |
setConfiguration(Configuration configuration)
Sets the configuration in use. |
Context |
setEventDispatcher(org.apache.felix.framework.util.EventDispatcher eventDispatcher)
Sets the event dispatcher in use. |
Context |
setOptionResolver(OptionResolver optionResolver)
Sets the option resolver in use. |
Context |
setServiceRegistry(org.apache.felix.framework.ServiceRegistry serviceRegistry)
Sets the service registry in use. |
Context |
setSystemProperties(java.util.Properties properties)
Sets the system properties that will be used when starting the platform. |
Method Detail |
---|
CommandLine getCommandLine()
Context setCommandLine(CommandLine commandLine)
commandLine
- a command line
Configuration getConfiguration()
Context setConfiguration(Configuration configuration)
configuration
- a configuration
OptionResolver getOptionResolver()
Context setOptionResolver(OptionResolver optionResolver)
optionResolver
- an option resolver
org.apache.felix.framework.ServiceRegistry getServiceRegistry()
Context setServiceRegistry(org.apache.felix.framework.ServiceRegistry serviceRegistry)
serviceRegistry
- a service registry
org.apache.felix.framework.util.EventDispatcher getEventDispatcher()
Context setEventDispatcher(org.apache.felix.framework.util.EventDispatcher eventDispatcher)
eventDispatcher
- an event dispatcher
Context addBundle(RunnerBundle bundle)
bundle
- a runner bundle to add
java.util.List<RunnerBundle> getBundles()
Context setSystemProperties(java.util.Properties properties)
properties
- java Properties
java.util.Properties getSystemProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |