public final class BundleManager extends org.jboss.msc.service.AbstractService<BundleManagerService> implements BundleManagerService
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
getBundle(org.jboss.modules.ModuleIdentifier identifier)
Get the bundle base name for the module identifier.
|
org.jboss.msc.service.ServiceName |
getServiceName(org.osgi.framework.Bundle bundle)
Get the service base name for the given bundle.
|
BundleManager |
getValue() |
org.jboss.msc.service.ServiceName |
installBundle(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.osgi.deployment.deployer.Deployment dep)
Install a bundle from the given deployment
|
org.jboss.msc.service.ServiceName |
registerModule(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.modules.Module module,
org.jboss.osgi.metadata.OSGiMetaData metadata)
Register a module with the OSGi layer.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
uninstallBundle(org.jboss.osgi.deployment.deployer.Deployment dep)
Uninstall the given deployment
|
void |
unregisterModule(org.jboss.modules.ModuleIdentifier identifier)
Unregister a module from the OSGi layer.
|
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<BundleManagerService>start in class org.jboss.msc.service.AbstractService<BundleManagerService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<BundleManagerService>stop in class org.jboss.msc.service.AbstractService<BundleManagerService>public BundleManager getValue() throws IllegalStateException
getValue in interface org.jboss.msc.value.Value<BundleManagerService>getValue in class org.jboss.msc.service.AbstractService<BundleManagerService>IllegalStateExceptionpublic org.jboss.msc.service.ServiceName getServiceName(org.osgi.framework.Bundle bundle)
BundleManagerServicegetServiceName in interface BundleManagerServicepublic org.osgi.framework.Bundle getBundle(org.jboss.modules.ModuleIdentifier identifier)
BundleManagerServicegetBundle in interface BundleManagerServicepublic org.jboss.msc.service.ServiceName registerModule(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.modules.Module module,
org.jboss.osgi.metadata.OSGiMetaData metadata)
throws org.osgi.framework.BundleException
BundleManagerServiceregisterModule in interface BundleManagerServiceorg.osgi.framework.BundleExceptionpublic org.jboss.msc.service.ServiceName installBundle(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.osgi.deployment.deployer.Deployment dep)
throws org.osgi.framework.BundleException
BundleManagerServiceinstallBundle in interface BundleManagerServiceorg.osgi.framework.BundleExceptionpublic void uninstallBundle(org.jboss.osgi.deployment.deployer.Deployment dep)
BundleManagerServiceuninstallBundle in interface BundleManagerServicepublic void unregisterModule(org.jboss.modules.ModuleIdentifier identifier)
BundleManagerServiceunregisterModule in interface BundleManagerServiceCopyright © 2012 JBoss by Red Hat. All Rights Reserved.