|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BundleManager
Integration point for Bundle management.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.msc.service.Service |
|---|
NULL, NULL_VALUE |
| Method Summary | |
|---|---|
Bundle |
getBundleById(long bundleId)
Get a bundle by id Note, this will get the bundle regadless of its state. |
Bundle |
getBundleByLocation(String location)
Get a bundle by location |
Set<Bundle> |
getBundles(Integer states)
Get the set of bundles that are in one of the given states. |
Set<Bundle> |
getBundles(String symbolicName,
String versionRange)
Get the set of bundles with the given symbolic name and version Note, this will get bundles regadless of their state. |
Map<String,Object> |
getProperties()
Returns the framework properties merged with the System properties. |
Object |
getProperty(String key)
Get a framework property |
org.jboss.msc.service.ServiceContainer |
getServiceContainer()
Get the service container |
Bundle |
getSystemBundle()
Get the system bundle |
org.jboss.msc.service.ServiceName |
installBundle(Deployment deployment,
org.jboss.msc.service.ServiceListener<Bundle> listener)
Install a bundle from the given deployment |
boolean |
isFrameworkActive()
True the framework has reached the Services.FRAMEWORK_ACTIVE state |
void |
uninstallBundle(Deployment dep)
Uninstall the given deployment |
| Methods inherited from interface org.jboss.msc.service.Service |
|---|
start, stop |
| Methods inherited from interface org.jboss.msc.value.Value |
|---|
getValue |
| Method Detail |
|---|
Bundle getBundleById(long bundleId)
bundleId - The identifier of the bundle
Bundle getBundleByLocation(String location)
location - the location of the bundle
Set<Bundle> getBundles(Integer states)
states - The binary or combination of states or null
Set<Bundle> getBundles(String symbolicName,
String versionRange)
symbolicName - The bundle symbolic nameversionRange - The optional bundle version
Bundle getSystemBundle()
Services.SYSTEM_BUNDLE stateboolean isFrameworkActive()
Services.FRAMEWORK_ACTIVE state
org.jboss.msc.service.ServiceName installBundle(Deployment deployment,
org.jboss.msc.service.ServiceListener<Bundle> listener)
throws BundleException
deployment - The bundle deploymentlistener - An optional listener on the INSTALL service
BundleExceptionvoid uninstallBundle(Deployment dep)
org.jboss.msc.service.ServiceContainer getServiceContainer()
Map<String,Object> getProperties()
Object getProperty(String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||