|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.jmbeans.osgi.MBeansRegistration
public class MBeansRegistration
Activator for the bundle which creates the basic JSR77 MBeans. Provides an OSGi service to update service manager.
| Constructor Summary | |
|---|---|
MBeansRegistration(org.osgi.framework.BundleContext bc)
Constructor. |
|
| Method Summary | |
|---|---|
org.ow2.jonas.versioning.VersioningService |
getVersioningService()
|
void |
setArchiveManager(org.ow2.util.archive.api.IArchiveManager archiveManager)
|
void |
setConfigManager(org.ow2.jonas.configuration.ConfigurationManager configManager)
|
void |
setDeployerManager(org.ow2.util.ee.deploy.api.deployer.IDeployerManager deployerManager)
|
void |
setJmxService(org.ow2.jonas.jmx.JmxService jmxService)
|
void |
setRegistryService(org.ow2.jonas.registry.RegistryService registryService)
|
void |
setServerProperties(org.ow2.jonas.properties.ServerProperties serverProperties)
|
void |
setVersioningService(org.ow2.jonas.versioning.VersioningService versioningService)
|
void |
start()
Start bundle. |
void |
stop()
Stop the bundle. |
void |
unsetVersioningService()
Sets the versioning service to null. |
void |
updateServiceManager(org.ow2.jonas.properties.ServerProperties props)
Update ServiceManager with services state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBeansRegistration(org.osgi.framework.BundleContext bc)
bc - OSGi BundleContext.| Method Detail |
|---|
public void start()
throws Exception
Exception - could not start bundle.
public void stop()
throws Exception
Exception - could not stop the bundle.
public void updateServiceManager(org.ow2.jonas.properties.ServerProperties props)
throws Exception
updateServiceManager in interface ServiceManagerUpdaterprops - JONAS server properties.
Exception - when we cannot get the registered JOnAS services.public void setVersioningService(org.ow2.jonas.versioning.VersioningService versioningService)
versioningService - The versioning service to set.public void unsetVersioningService()
public org.ow2.jonas.versioning.VersioningService getVersioningService()
public void setConfigManager(org.ow2.jonas.configuration.ConfigurationManager configManager)
configManager - the configManager to setpublic void setDeployerManager(org.ow2.util.ee.deploy.api.deployer.IDeployerManager deployerManager)
deployerManager - the deployerManager to setpublic void setArchiveManager(org.ow2.util.archive.api.IArchiveManager archiveManager)
archiveManager - the archiveManager to setpublic void setJmxService(org.ow2.jonas.jmx.JmxService jmxService)
jmxService - the jmxService to setpublic void setRegistryService(org.ow2.jonas.registry.RegistryService registryService)
registryService - the registryService to setpublic void setServerProperties(org.ow2.jonas.properties.ServerProperties serverProperties)
serverProperties - the serverProperties to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||