org.jboss.osgi.framework
Interface BundleManagerService

All Superinterfaces:
org.jboss.msc.service.Service<BundleManagerService>, org.jboss.msc.value.Value<BundleManagerService>

public interface BundleManagerService
extends org.jboss.msc.service.Service<BundleManagerService>

Integration point for Bundle management.

Since:
24-Mar-2011
Author:
thomas.diesler@jboss.com

Field Summary
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Method Summary
 Bundle getBundle(org.jboss.modules.ModuleIdentifier identifier)
          Get the bundle base name for the module identifier.
 org.jboss.msc.service.ServiceName getServiceName(Bundle bundle)
          Get the service base name for the given bundle.
 org.jboss.msc.service.ServiceName installBundle(org.jboss.msc.service.ServiceTarget serviceTarget, 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, OSGiMetaData metadata)
          Register a module with the OSGi layer.
 void uninstallBundle(Deployment dep)
          Uninstall the given deployment
 void unregisterModule(org.jboss.modules.ModuleIdentifier identifier)
          Unregister a module from the OSGi layer.
 
Methods inherited from interface org.jboss.msc.service.Service
start, stop
 
Methods inherited from interface org.jboss.msc.value.Value
getValue
 

Method Detail

getServiceName

org.jboss.msc.service.ServiceName getServiceName(Bundle bundle)
Get the service base name for the given bundle.


installBundle

org.jboss.msc.service.ServiceName installBundle(org.jboss.msc.service.ServiceTarget serviceTarget,
                                                Deployment dep)
                                                throws BundleException
Install a bundle from the given deployment

Throws:
BundleException

uninstallBundle

void uninstallBundle(Deployment dep)
Uninstall the given deployment


getBundle

Bundle getBundle(org.jboss.modules.ModuleIdentifier identifier)
Get the bundle base name for the module identifier.


registerModule

org.jboss.msc.service.ServiceName registerModule(org.jboss.msc.service.ServiceTarget serviceTarget,
                                                 org.jboss.modules.Module module,
                                                 OSGiMetaData metadata)
                                                 throws BundleException
Register a module with the OSGi layer.

Throws:
BundleException

unregisterModule

void unregisterModule(org.jboss.modules.ModuleIdentifier identifier)
Unregister a module from the OSGi layer.



Copyright © 2012. All Rights Reserved.