org.jboss.osgi.microcontainer.integration
Class AbstractMicrocontainerService
java.lang.Object
org.jboss.osgi.microcontainer.integration.AbstractMicrocontainerService
- All Implemented Interfaces:
- org.jboss.osgi.spi.service.DeployerService, org.jboss.osgi.spi.service.MicrocontainerService
public abstract class AbstractMicrocontainerService
- extends java.lang.Object
- implements org.jboss.osgi.spi.service.DeployerService, org.jboss.osgi.spi.service.MicrocontainerService
An OSGi Service the gives access to the Kernel.
- Since:
- 23-Jan-2009
- Author:
- thomas.diesler@jboss.com
| Fields inherited from interface org.jboss.osgi.spi.service.DeployerService |
MBEAN_DEPLOYER_SERVICE |
| Fields inherited from interface org.jboss.osgi.spi.service.MicrocontainerService |
BEAN_KERNEL, BEAN_KERNEL_CONTROLLER, BEAN_MBEAN_SERVER, BEAN_SYSTEM_BUNDLE_CONTEXT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMicrocontainerService
public AbstractMicrocontainerService()
getKernel
public abstract org.jboss.kernel.Kernel getKernel()
logDebug
public abstract void logDebug(java.lang.String message)
logWarning
public abstract void logWarning(java.lang.String message,
java.lang.Exception ex)
logWarning
public void logWarning(java.lang.String message)
getRegisteredBeans
public java.util.List<java.lang.String> getRegisteredBeans()
- Specified by:
getRegisteredBeans in interface org.jboss.osgi.spi.service.MicrocontainerService
getRegisteredBean
public java.lang.Object getRegisteredBean(java.lang.String beanName)
- Specified by:
getRegisteredBean in interface org.jboss.osgi.spi.service.MicrocontainerService
getRegisteredBean
public <T> T getRegisteredBean(java.lang.Class<T> clazz,
java.lang.String beanName)
- Specified by:
getRegisteredBean in interface org.jboss.osgi.spi.service.MicrocontainerService
deploy
public void deploy(java.net.URL url)
throws org.osgi.framework.BundleException
- Specified by:
deploy in interface org.jboss.osgi.spi.service.DeployerService
- Throws:
org.osgi.framework.BundleException
undeploy
public boolean undeploy(java.net.URL url)
throws org.osgi.framework.BundleException
- Specified by:
undeploy in interface org.jboss.osgi.spi.service.DeployerService
- Throws:
org.osgi.framework.BundleException
deploy
public void deploy(org.jboss.osgi.spi.util.BundleDeployment[] depArr)
throws org.osgi.framework.BundleException
- Specified by:
deploy in interface org.jboss.osgi.spi.service.DeployerService
- Throws:
org.osgi.framework.BundleException
undeploy
public void undeploy(org.jboss.osgi.spi.util.BundleDeployment[] depArr)
throws org.osgi.framework.BundleException
- Specified by:
undeploy in interface org.jboss.osgi.spi.service.DeployerService
- Throws:
org.osgi.framework.BundleException
installBean
protected void installBean(org.jboss.kernel.spi.dependency.KernelController controller,
java.lang.String beanName,
java.lang.Object beanImpl)
registerMicrocontainerServiceMBean
protected void registerMicrocontainerServiceMBean(javax.management.MBeanServer mbeanServer)
unregisterMicrocontainerServiceMBean
protected void unregisterMicrocontainerServiceMBean(javax.management.MBeanServer mbeanServer)
Copyright © 2009. All Rights Reserved.