org.apache.geronimo.system.jmx
Class KernelDelegate

java.lang.Object
  extended by org.apache.geronimo.system.jmx.KernelDelegate
All Implemented Interfaces:
Kernel

public class KernelDelegate
extends java.lang.Object
implements Kernel

Version:
$Rev: 1144307 $ $Date: 2011-07-08 21:24:09 +0800 (Fri, 08 Jul 2011) $

Field Summary
 
Fields inherited from interface org.apache.geronimo.kernel.Kernel
KERNEL, KERNEL_NAME
 
Constructor Summary
KernelDelegate(javax.management.MBeanServerConnection mbeanServer)
           
 
Method Summary
 void boot()
          Throws UnsupportedOperationException.
 AbstractName getAbstractNameFor(java.lang.Object service)
           
 java.lang.Object getAttribute(AbstractName abstractName, java.lang.String attributeName)
           
 java.lang.Object getAttribute(java.lang.Class type, java.lang.String attributeName)
           
 java.lang.Object getAttribute(javax.management.ObjectName objectName, java.lang.String attributeName)
          Deprecated. 
 java.lang.Object getAttribute(java.lang.String shortName, java.lang.Class type, java.lang.String attributeName)
           
 java.lang.Object getAttribute(java.lang.String shortName, java.lang.String attributeName)
           
 java.util.Date getBootTime()
           
 org.osgi.framework.Bundle getBundleFor(AbstractName name)
           
 org.osgi.framework.Bundle getBundleFor(java.lang.Class type)
           
 org.osgi.framework.Bundle getBundleFor(java.lang.String shortName)
           
 org.osgi.framework.Bundle getBundleFor(java.lang.String shortName, java.lang.Class type)
           
 DependencyManager getDependencyManager()
          Throws UnsupportedOperationException.
 java.lang.Object getGBean(AbstractName name)
           
<T> T
getGBean(java.lang.Class<T> type)
           
 java.lang.Object getGBean(javax.management.ObjectName name)
          Deprecated. 
 java.lang.Object getGBean(java.lang.String shortName)
           
<T> T
getGBean(java.lang.String shortName, java.lang.Class<T> type)
           
 GBeanData getGBeanData(AbstractName name)
           
 GBeanData getGBeanData(java.lang.Class type)
           
 GBeanData getGBeanData(java.lang.String shortName)
           
 GBeanData getGBeanData(java.lang.String shortName, java.lang.Class type)
           
 GBeanInfo getGBeanInfo(AbstractName name)
           
 GBeanInfo getGBeanInfo(java.lang.Class type)
           
 GBeanInfo getGBeanInfo(javax.management.ObjectName name)
          Deprecated. 
 GBeanInfo getGBeanInfo(java.lang.String shortName)
           
 GBeanInfo getGBeanInfo(java.lang.String shortName, java.lang.Class type)
           
 long getGBeanStartTime(AbstractName name)
           
 long getGBeanStartTime(java.lang.Class type)
           
 long getGBeanStartTime(java.lang.String shortName)
           
 long getGBeanStartTime(java.lang.String shortName, java.lang.Class type)
           
 int getGBeanState(AbstractName name)
           
 int getGBeanState(java.lang.Class type)
           
 int getGBeanState(javax.management.ObjectName name)
          Deprecated. 
 int getGBeanState(java.lang.String shortName)
           
 int getGBeanState(java.lang.String shortName, java.lang.Class type)
           
 java.lang.String getKernelName()
           
 LifecycleMonitor getLifecycleMonitor()
          Throws UnsupportedOperationException.
 Naming getNaming()
           
 ProxyManager getProxyManager()
           
 java.lang.String getShortNameFor(java.lang.Object service)
           
 java.lang.String getStateReason(AbstractName abstractName)
           
 java.lang.Object invoke(AbstractName abstractName, java.lang.String methodName)
           
 java.lang.Object invoke(AbstractName abstractName, java.lang.String methodName, java.lang.Object[] args, java.lang.String[] types)
           
 java.lang.Object invoke(java.lang.Class type, java.lang.String methodName)
           
 java.lang.Object invoke(java.lang.Class type, java.lang.String methodName, java.lang.Object[] args, java.lang.String[] types)
           
 java.lang.Object invoke(javax.management.ObjectName objectName, java.lang.String methodName)
          Deprecated. 
 java.lang.Object invoke(javax.management.ObjectName objectName, java.lang.String methodName, java.lang.Object[] args, java.lang.String[] types)
          Deprecated. 
 java.lang.Object invoke(java.lang.String shortName, java.lang.Class type, java.lang.String methodName)
           
 java.lang.Object invoke(java.lang.String shortName, java.lang.Class type, java.lang.String methodName, java.lang.Object[] args, java.lang.String[] types)
           
 java.lang.Object invoke(java.lang.String shortName, java.lang.String methodName)
           
 java.lang.Object invoke(java.lang.String shortName, java.lang.String methodName, java.lang.Object[] args, java.lang.String[] types)
           
 boolean isLoaded(AbstractName name)
           
 boolean isLoaded(java.lang.Class type)
           
 boolean isLoaded(java.lang.String shortName)
           
 boolean isLoaded(java.lang.String shortName, java.lang.Class type)
           
 boolean isRunning()
           
 boolean isRunning(AbstractName name)
           
 boolean isRunning(java.lang.Class type)
           
 boolean isRunning(java.lang.String shortName)
           
 boolean isRunning(java.lang.String shortName, java.lang.Class type)
           
 java.util.Set<AbstractName> listGBeans(AbstractNameQuery query)
           
 java.util.Set<AbstractName> listGBeans(javax.management.ObjectName pattern)
          Deprecated. 
 java.util.Set<AbstractName> listGBeans(java.util.Set patterns)
           
 void loadGBean(GBeanData gbeanData, org.osgi.framework.BundleContext bundleContext)
           
 void registerShutdownHook(java.lang.Runnable hook)
           
 void setAttribute(AbstractName abstractName, java.lang.String attributeName, java.lang.Object attributeValue)
           
 void setAttribute(java.lang.Class type, java.lang.String attributeName, java.lang.Object attributeValue)
           
 void setAttribute(java.lang.String shortName, java.lang.Class type, java.lang.String attributeName, java.lang.Object attributeValue)
           
 void setAttribute(java.lang.String shortName, java.lang.String attributeName, java.lang.Object attributeValue)
           
 void shutdown()
           
 void startGBean(AbstractName name)
           
 void startGBean(java.lang.Class type)
           
 void startGBean(java.lang.String shortName)
           
 void startGBean(java.lang.String shortName, java.lang.Class type)
           
 void startRecursiveGBean(AbstractName name)
           
 void startRecursiveGBean(java.lang.Class type)
           
 void startRecursiveGBean(java.lang.String shortName)
           
 void startRecursiveGBean(java.lang.String shortName, java.lang.Class type)
           
 void stopGBean(AbstractName name)
           
 void stopGBean(java.lang.Class type)
           
 void stopGBean(java.lang.String shortName)
           
 void stopGBean(java.lang.String shortName, java.lang.Class type)
           
 void unloadGBean(AbstractName name)
           
 void unloadGBean(java.lang.Class type)
           
 void unloadGBean(java.lang.String shortName)
           
 void unloadGBean(java.lang.String shortName, java.lang.Class type)
           
 void unregisterShutdownHook(java.lang.Runnable hook)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KernelDelegate

public KernelDelegate(javax.management.MBeanServerConnection mbeanServer)
Method Detail

getBootTime

public java.util.Date getBootTime()
Specified by:
getBootTime in interface Kernel

getKernelName

public java.lang.String getKernelName()
Specified by:
getKernelName in interface Kernel

getNaming

public Naming getNaming()
Specified by:
getNaming in interface Kernel

getGBean

@Deprecated
public java.lang.Object getGBean(javax.management.ObjectName name)
                          throws GBeanNotFoundException,
                                 InternalKernelException,
                                 java.lang.IllegalStateException
Deprecated. 

Specified by:
getGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

getGBean

public java.lang.Object getGBean(AbstractName name)
                          throws GBeanNotFoundException,
                                 InternalKernelException,
                                 java.lang.IllegalStateException
Specified by:
getGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

getGBean

public java.lang.Object getGBean(java.lang.String shortName)
                          throws GBeanNotFoundException,
                                 InternalKernelException,
                                 java.lang.IllegalStateException
Specified by:
getGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

getGBean

public <T> T getGBean(java.lang.Class<T> type)
           throws GBeanNotFoundException,
                  InternalKernelException,
                  java.lang.IllegalStateException
Specified by:
getGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

getGBean

public <T> T getGBean(java.lang.String shortName,
                      java.lang.Class<T> type)
           throws GBeanNotFoundException,
                  InternalKernelException,
                  java.lang.IllegalStateException
Specified by:
getGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

loadGBean

public void loadGBean(GBeanData gbeanData,
                      org.osgi.framework.BundleContext bundleContext)
               throws GBeanAlreadyExistsException
Specified by:
loadGBean in interface Kernel
Throws:
GBeanAlreadyExistsException

startGBean

public void startGBean(AbstractName name)
                throws GBeanNotFoundException,
                       InternalKernelException,
                       java.lang.IllegalStateException
Specified by:
startGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startGBean

public void startGBean(java.lang.String shortName)
                throws GBeanNotFoundException,
                       InternalKernelException,
                       java.lang.IllegalStateException
Specified by:
startGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startGBean

public void startGBean(java.lang.Class type)
                throws GBeanNotFoundException,
                       InternalKernelException,
                       java.lang.IllegalStateException
Specified by:
startGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startGBean

public void startGBean(java.lang.String shortName,
                       java.lang.Class type)
                throws GBeanNotFoundException,
                       InternalKernelException,
                       java.lang.IllegalStateException
Specified by:
startGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startRecursiveGBean

public void startRecursiveGBean(AbstractName name)
                         throws GBeanNotFoundException,
                                InternalKernelException,
                                java.lang.IllegalStateException
Specified by:
startRecursiveGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startRecursiveGBean

public void startRecursiveGBean(java.lang.String shortName)
                         throws GBeanNotFoundException,
                                InternalKernelException,
                                java.lang.IllegalStateException
Specified by:
startRecursiveGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startRecursiveGBean

public void startRecursiveGBean(java.lang.Class type)
                         throws GBeanNotFoundException,
                                InternalKernelException,
                                java.lang.IllegalStateException
Specified by:
startRecursiveGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

startRecursiveGBean

public void startRecursiveGBean(java.lang.String shortName,
                                java.lang.Class type)
                         throws GBeanNotFoundException,
                                InternalKernelException,
                                java.lang.IllegalStateException
Specified by:
startRecursiveGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

isRunning

public boolean isRunning(AbstractName name)
Specified by:
isRunning in interface Kernel

isRunning

public boolean isRunning(java.lang.String shortName)
Specified by:
isRunning in interface Kernel

isRunning

public boolean isRunning(java.lang.Class type)
Specified by:
isRunning in interface Kernel

isRunning

public boolean isRunning(java.lang.String shortName,
                         java.lang.Class type)
Specified by:
isRunning in interface Kernel

stopGBean

public void stopGBean(AbstractName name)
               throws GBeanNotFoundException,
                      InternalKernelException,
                      java.lang.IllegalStateException
Specified by:
stopGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

stopGBean

public void stopGBean(java.lang.String shortName)
               throws GBeanNotFoundException,
                      InternalKernelException,
                      java.lang.IllegalStateException
Specified by:
stopGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

stopGBean

public void stopGBean(java.lang.Class type)
               throws GBeanNotFoundException,
                      InternalKernelException,
                      java.lang.IllegalStateException
Specified by:
stopGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

stopGBean

public void stopGBean(java.lang.String shortName,
                      java.lang.Class type)
               throws GBeanNotFoundException,
                      InternalKernelException,
                      java.lang.IllegalStateException
Specified by:
stopGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

unloadGBean

public void unloadGBean(AbstractName name)
                 throws GBeanNotFoundException,
                        InternalKernelException,
                        java.lang.IllegalStateException
Specified by:
unloadGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

unloadGBean

public void unloadGBean(java.lang.String shortName)
                 throws GBeanNotFoundException,
                        InternalKernelException,
                        java.lang.IllegalStateException
Specified by:
unloadGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

unloadGBean

public void unloadGBean(java.lang.Class type)
                 throws GBeanNotFoundException,
                        InternalKernelException,
                        java.lang.IllegalStateException
Specified by:
unloadGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

unloadGBean

public void unloadGBean(java.lang.String shortName,
                        java.lang.Class type)
                 throws GBeanNotFoundException,
                        InternalKernelException,
                        java.lang.IllegalStateException
Specified by:
unloadGBean in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException
java.lang.IllegalStateException

getGBeanState

@Deprecated
public int getGBeanState(javax.management.ObjectName name)
                  throws GBeanNotFoundException
Deprecated. 

Specified by:
getGBeanState in interface Kernel
Throws:
GBeanNotFoundException

getGBeanState

public int getGBeanState(AbstractName name)
                  throws GBeanNotFoundException
Specified by:
getGBeanState in interface Kernel
Throws:
GBeanNotFoundException

getGBeanState

public int getGBeanState(java.lang.String shortName)
                  throws GBeanNotFoundException
Specified by:
getGBeanState in interface Kernel
Throws:
GBeanNotFoundException

getGBeanState

public int getGBeanState(java.lang.Class type)
                  throws GBeanNotFoundException
Specified by:
getGBeanState in interface Kernel
Throws:
GBeanNotFoundException

getGBeanState

public int getGBeanState(java.lang.String shortName,
                         java.lang.Class type)
                  throws GBeanNotFoundException
Specified by:
getGBeanState in interface Kernel
Throws:
GBeanNotFoundException

getGBeanStartTime

public long getGBeanStartTime(AbstractName name)
                       throws GBeanNotFoundException
Specified by:
getGBeanStartTime in interface Kernel
Throws:
GBeanNotFoundException

getGBeanStartTime

public long getGBeanStartTime(java.lang.String shortName)
                       throws GBeanNotFoundException
Specified by:
getGBeanStartTime in interface Kernel
Throws:
GBeanNotFoundException

getGBeanStartTime

public long getGBeanStartTime(java.lang.Class type)
                       throws GBeanNotFoundException
Specified by:
getGBeanStartTime in interface Kernel
Throws:
GBeanNotFoundException

getGBeanStartTime

public long getGBeanStartTime(java.lang.String shortName,
                              java.lang.Class type)
                       throws GBeanNotFoundException
Specified by:
getGBeanStartTime in interface Kernel
Throws:
GBeanNotFoundException

getAttribute

@Deprecated
public java.lang.Object getAttribute(javax.management.ObjectName objectName,
                                                java.lang.String attributeName)
                              throws java.lang.Exception
Deprecated. 

Specified by:
getAttribute in interface Kernel
Throws:
java.lang.Exception

getAttribute

public java.lang.Object getAttribute(AbstractName abstractName,
                                     java.lang.String attributeName)
                              throws GBeanNotFoundException,
                                     NoSuchAttributeException,
                                     java.lang.Exception
Specified by:
getAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

getAttribute

public java.lang.Object getAttribute(java.lang.String shortName,
                                     java.lang.String attributeName)
                              throws GBeanNotFoundException,
                                     NoSuchAttributeException,
                                     java.lang.Exception
Specified by:
getAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

getAttribute

public java.lang.Object getAttribute(java.lang.Class type,
                                     java.lang.String attributeName)
                              throws GBeanNotFoundException,
                                     NoSuchAttributeException,
                                     java.lang.Exception
Specified by:
getAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

getAttribute

public java.lang.Object getAttribute(java.lang.String shortName,
                                     java.lang.Class type,
                                     java.lang.String attributeName)
                              throws GBeanNotFoundException,
                                     NoSuchAttributeException,
                                     java.lang.Exception
Specified by:
getAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

setAttribute

public void setAttribute(AbstractName abstractName,
                         java.lang.String attributeName,
                         java.lang.Object attributeValue)
                  throws GBeanNotFoundException,
                         NoSuchAttributeException,
                         java.lang.Exception
Specified by:
setAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

setAttribute

public void setAttribute(java.lang.String shortName,
                         java.lang.String attributeName,
                         java.lang.Object attributeValue)
                  throws GBeanNotFoundException,
                         NoSuchAttributeException,
                         java.lang.Exception
Specified by:
setAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

setAttribute

public void setAttribute(java.lang.Class type,
                         java.lang.String attributeName,
                         java.lang.Object attributeValue)
                  throws GBeanNotFoundException,
                         NoSuchAttributeException,
                         java.lang.Exception
Specified by:
setAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

setAttribute

public void setAttribute(java.lang.String shortName,
                         java.lang.Class type,
                         java.lang.String attributeName,
                         java.lang.Object attributeValue)
                  throws GBeanNotFoundException,
                         NoSuchAttributeException,
                         java.lang.Exception
Specified by:
setAttribute in interface Kernel
Throws:
GBeanNotFoundException
NoSuchAttributeException
java.lang.Exception

invoke

@Deprecated
public java.lang.Object invoke(javax.management.ObjectName objectName,
                                          java.lang.String methodName)
                        throws java.lang.Exception
Deprecated. 

Specified by:
invoke in interface Kernel
Throws:
java.lang.Exception

invoke

public java.lang.Object invoke(AbstractName abstractName,
                               java.lang.String methodName)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.String shortName,
                               java.lang.String methodName)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.Class type,
                               java.lang.String methodName)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.String shortName,
                               java.lang.Class type,
                               java.lang.String methodName)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

@Deprecated
public java.lang.Object invoke(javax.management.ObjectName objectName,
                                          java.lang.String methodName,
                                          java.lang.Object[] args,
                                          java.lang.String[] types)
                        throws java.lang.Exception
Deprecated. 

Specified by:
invoke in interface Kernel
Throws:
java.lang.Exception

getStateReason

public java.lang.String getStateReason(AbstractName abstractName)
Specified by:
getStateReason in interface Kernel

invoke

public java.lang.Object invoke(AbstractName abstractName,
                               java.lang.String methodName,
                               java.lang.Object[] args,
                               java.lang.String[] types)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.String shortName,
                               java.lang.String methodName,
                               java.lang.Object[] args,
                               java.lang.String[] types)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.Class type,
                               java.lang.String methodName,
                               java.lang.Object[] args,
                               java.lang.String[] types)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.String shortName,
                               java.lang.Class type,
                               java.lang.String methodName,
                               java.lang.Object[] args,
                               java.lang.String[] types)
                        throws GBeanNotFoundException,
                               NoSuchOperationException,
                               InternalKernelException,
                               java.lang.Exception
Specified by:
invoke in interface Kernel
Throws:
GBeanNotFoundException
NoSuchOperationException
InternalKernelException
java.lang.Exception

isLoaded

public boolean isLoaded(AbstractName name)
Specified by:
isLoaded in interface Kernel

isLoaded

public boolean isLoaded(java.lang.String shortName)
Specified by:
isLoaded in interface Kernel

isLoaded

public boolean isLoaded(java.lang.Class type)
Specified by:
isLoaded in interface Kernel

isLoaded

public boolean isLoaded(java.lang.String shortName,
                        java.lang.Class type)
Specified by:
isLoaded in interface Kernel

getGBeanInfo

@Deprecated
public GBeanInfo getGBeanInfo(javax.management.ObjectName name)
                       throws GBeanNotFoundException
Deprecated. 

Specified by:
getGBeanInfo in interface Kernel
Throws:
GBeanNotFoundException

getGBeanInfo

public GBeanInfo getGBeanInfo(AbstractName name)
                       throws GBeanNotFoundException
Specified by:
getGBeanInfo in interface Kernel
Throws:
GBeanNotFoundException

getGBeanInfo

public GBeanInfo getGBeanInfo(java.lang.String shortName)
                       throws GBeanNotFoundException
Specified by:
getGBeanInfo in interface Kernel
Throws:
GBeanNotFoundException

getGBeanInfo

public GBeanInfo getGBeanInfo(java.lang.Class type)
                       throws GBeanNotFoundException
Specified by:
getGBeanInfo in interface Kernel
Throws:
GBeanNotFoundException

getGBeanInfo

public GBeanInfo getGBeanInfo(java.lang.String shortName,
                              java.lang.Class type)
                       throws GBeanNotFoundException
Specified by:
getGBeanInfo in interface Kernel
Throws:
GBeanNotFoundException

listGBeans

@Deprecated
public java.util.Set<AbstractName> listGBeans(javax.management.ObjectName pattern)
Deprecated. 

Specified by:
listGBeans in interface Kernel

listGBeans

public java.util.Set<AbstractName> listGBeans(java.util.Set patterns)
Specified by:
listGBeans in interface Kernel

registerShutdownHook

public void registerShutdownHook(java.lang.Runnable hook)
Specified by:
registerShutdownHook in interface Kernel

unregisterShutdownHook

public void unregisterShutdownHook(java.lang.Runnable hook)
Specified by:
unregisterShutdownHook in interface Kernel

shutdown

public void shutdown()
Specified by:
shutdown in interface Kernel

getBundleFor

public org.osgi.framework.Bundle getBundleFor(AbstractName name)
                                       throws GBeanNotFoundException
Specified by:
getBundleFor in interface Kernel
Throws:
GBeanNotFoundException

getBundleFor

public org.osgi.framework.Bundle getBundleFor(java.lang.String shortName)
                                       throws GBeanNotFoundException
Specified by:
getBundleFor in interface Kernel
Throws:
GBeanNotFoundException

getBundleFor

public org.osgi.framework.Bundle getBundleFor(java.lang.Class type)
                                       throws GBeanNotFoundException
Specified by:
getBundleFor in interface Kernel
Throws:
GBeanNotFoundException

getBundleFor

public org.osgi.framework.Bundle getBundleFor(java.lang.String shortName,
                                              java.lang.Class type)
                                       throws GBeanNotFoundException
Specified by:
getBundleFor in interface Kernel
Throws:
GBeanNotFoundException

getGBeanData

public GBeanData getGBeanData(AbstractName name)
                       throws GBeanNotFoundException,
                              InternalKernelException
Specified by:
getGBeanData in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException

getGBeanData

public GBeanData getGBeanData(java.lang.String shortName)
                       throws GBeanNotFoundException,
                              InternalKernelException
Specified by:
getGBeanData in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException

getGBeanData

public GBeanData getGBeanData(java.lang.Class type)
                       throws GBeanNotFoundException,
                              InternalKernelException
Specified by:
getGBeanData in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException

getGBeanData

public GBeanData getGBeanData(java.lang.String shortName,
                              java.lang.Class type)
                       throws GBeanNotFoundException,
                              InternalKernelException
Specified by:
getGBeanData in interface Kernel
Throws:
GBeanNotFoundException
InternalKernelException

getAbstractNameFor

public AbstractName getAbstractNameFor(java.lang.Object service)
Specified by:
getAbstractNameFor in interface Kernel

getShortNameFor

public java.lang.String getShortNameFor(java.lang.Object service)
Specified by:
getShortNameFor in interface Kernel

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Kernel

listGBeans

public java.util.Set<AbstractName> listGBeans(AbstractNameQuery query)
Specified by:
listGBeans in interface Kernel

getDependencyManager

public DependencyManager getDependencyManager()
Throws UnsupportedOperationException. The dependency manager is not accesable over a remote connection.

Specified by:
getDependencyManager in interface Kernel

getLifecycleMonitor

public LifecycleMonitor getLifecycleMonitor()
Throws UnsupportedOperationException. The lifecycle monitor is not accesable over a remote connection.

Specified by:
getLifecycleMonitor in interface Kernel

getProxyManager

public ProxyManager getProxyManager()
Specified by:
getProxyManager in interface Kernel

boot

public void boot()
          throws java.lang.Exception
Throws UnsupportedOperationException. A remote kernel will alreayd be booted.

Specified by:
boot in interface Kernel
Throws:
java.lang.Exception


Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.