org.apache.geronimo.system.jmx
Class KernelDelegate
java.lang.Object
org.apache.geronimo.system.jmx.KernelDelegate
- All Implemented Interfaces:
- org.apache.geronimo.kernel.Kernel
public class KernelDelegate
- extends Object
- implements org.apache.geronimo.kernel.Kernel
Fields inherited from interface org.apache.geronimo.kernel.Kernel |
KERNEL, KERNEL_NAME |
Method Summary |
void |
boot()
Throws UnsupportedOperationException. |
org.apache.geronimo.gbean.AbstractName |
getAbstractNameFor(Object service)
|
Object |
getAttribute(org.apache.geronimo.gbean.AbstractName abstractName,
String attributeName)
|
Object |
getAttribute(Class type,
String attributeName)
|
Object |
getAttribute(ObjectName objectName,
String attributeName)
|
Object |
getAttribute(String shortName,
Class type,
String attributeName)
|
Object |
getAttribute(String shortName,
String attributeName)
|
Date |
getBootTime()
|
ClassLoader |
getClassLoaderFor(org.apache.geronimo.gbean.AbstractName name)
|
ClassLoader |
getClassLoaderFor(Class type)
|
ClassLoader |
getClassLoaderFor(String shortName)
|
ClassLoader |
getClassLoaderFor(String shortName,
Class type)
|
org.apache.geronimo.kernel.DependencyManager |
getDependencyManager()
Throws UnsupportedOperationException. |
Object |
getGBean(org.apache.geronimo.gbean.AbstractName name)
|
Object |
getGBean(Class type)
|
Object |
getGBean(ObjectName name)
|
Object |
getGBean(String shortName)
|
Object |
getGBean(String shortName,
Class type)
|
org.apache.geronimo.gbean.GBeanData |
getGBeanData(org.apache.geronimo.gbean.AbstractName name)
|
org.apache.geronimo.gbean.GBeanData |
getGBeanData(Class type)
|
org.apache.geronimo.gbean.GBeanData |
getGBeanData(String shortName)
|
org.apache.geronimo.gbean.GBeanData |
getGBeanData(String shortName,
Class type)
|
org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo(org.apache.geronimo.gbean.AbstractName name)
|
org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo(Class type)
|
org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo(ObjectName name)
|
org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo(String shortName)
|
org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo(String shortName,
Class type)
|
long |
getGBeanStartTime(org.apache.geronimo.gbean.AbstractName name)
|
long |
getGBeanStartTime(Class type)
|
long |
getGBeanStartTime(String shortName)
|
long |
getGBeanStartTime(String shortName,
Class type)
|
int |
getGBeanState(org.apache.geronimo.gbean.AbstractName name)
|
int |
getGBeanState(Class type)
|
int |
getGBeanState(ObjectName name)
|
int |
getGBeanState(String shortName)
|
int |
getGBeanState(String shortName,
Class type)
|
String |
getKernelName()
|
org.apache.geronimo.kernel.lifecycle.LifecycleMonitor |
getLifecycleMonitor()
Throws UnsupportedOperationException. |
org.apache.geronimo.kernel.Naming |
getNaming()
|
org.apache.geronimo.kernel.proxy.ProxyManager |
getProxyManager()
|
String |
getShortNameFor(Object service)
|
Object |
invoke(org.apache.geronimo.gbean.AbstractName abstractName,
String methodName)
|
Object |
invoke(org.apache.geronimo.gbean.AbstractName abstractName,
String methodName,
Object[] args,
String[] types)
|
Object |
invoke(Class type,
String methodName)
|
Object |
invoke(Class type,
String methodName,
Object[] args,
String[] types)
|
Object |
invoke(ObjectName objectName,
String methodName)
|
Object |
invoke(ObjectName objectName,
String methodName,
Object[] args,
String[] types)
|
Object |
invoke(String shortName,
Class type,
String methodName)
|
Object |
invoke(String shortName,
Class type,
String methodName,
Object[] args,
String[] types)
|
Object |
invoke(String shortName,
String methodName)
|
Object |
invoke(String shortName,
String methodName,
Object[] args,
String[] types)
|
boolean |
isLoaded(org.apache.geronimo.gbean.AbstractName name)
|
boolean |
isLoaded(Class type)
|
boolean |
isLoaded(String shortName)
|
boolean |
isLoaded(String shortName,
Class type)
|
boolean |
isRunning()
|
boolean |
isRunning(org.apache.geronimo.gbean.AbstractName name)
|
boolean |
isRunning(Class type)
|
boolean |
isRunning(String shortName)
|
boolean |
isRunning(String shortName,
Class type)
|
Set |
listGBeans(org.apache.geronimo.gbean.AbstractNameQuery query)
|
Set |
listGBeans(ObjectName pattern)
|
Set |
listGBeans(Set patterns)
|
void |
loadGBean(org.apache.geronimo.gbean.GBeanData gbeanData,
ClassLoader classLoader)
|
void |
registerShutdownHook(Runnable hook)
|
void |
setAttribute(org.apache.geronimo.gbean.AbstractName abstractName,
String attributeName,
Object attributeValue)
|
void |
setAttribute(Class type,
String attributeName,
Object attributeValue)
|
void |
setAttribute(String shortName,
Class type,
String attributeName,
Object attributeValue)
|
void |
setAttribute(String shortName,
String attributeName,
Object attributeValue)
|
void |
shutdown()
|
void |
startGBean(org.apache.geronimo.gbean.AbstractName name)
|
void |
startGBean(Class type)
|
void |
startGBean(String shortName)
|
void |
startGBean(String shortName,
Class type)
|
void |
startRecursiveGBean(org.apache.geronimo.gbean.AbstractName name)
|
void |
startRecursiveGBean(Class type)
|
void |
startRecursiveGBean(String shortName)
|
void |
startRecursiveGBean(String shortName,
Class type)
|
void |
stopGBean(org.apache.geronimo.gbean.AbstractName name)
|
void |
stopGBean(Class type)
|
void |
stopGBean(String shortName)
|
void |
stopGBean(String shortName,
Class type)
|
void |
unloadGBean(org.apache.geronimo.gbean.AbstractName name)
|
void |
unloadGBean(Class type)
|
void |
unloadGBean(String shortName)
|
void |
unloadGBean(String shortName,
Class type)
|
void |
unregisterShutdownHook(Runnable hook)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KernelDelegate
public KernelDelegate(MBeanServerConnection mbeanServer)
getBootTime
public Date getBootTime()
- Specified by:
getBootTime
in interface org.apache.geronimo.kernel.Kernel
getKernelName
public String getKernelName()
- Specified by:
getKernelName
in interface org.apache.geronimo.kernel.Kernel
getNaming
public org.apache.geronimo.kernel.Naming getNaming()
- Specified by:
getNaming
in interface org.apache.geronimo.kernel.Kernel
getGBean
public Object getGBean(ObjectName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
getGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
getGBean
public Object getGBean(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
getGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
getGBean
public Object getGBean(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
getGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
getGBean
public Object getGBean(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
getGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
getGBean
public Object getGBean(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
getGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
loadGBean
public void loadGBean(org.apache.geronimo.gbean.GBeanData gbeanData,
ClassLoader classLoader)
throws org.apache.geronimo.kernel.GBeanAlreadyExistsException
- Specified by:
loadGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanAlreadyExistsException
startGBean
public void startGBean(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startGBean
public void startGBean(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startGBean
public void startGBean(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startGBean
public void startGBean(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startRecursiveGBean
public void startRecursiveGBean(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startRecursiveGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startRecursiveGBean
public void startRecursiveGBean(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startRecursiveGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startRecursiveGBean
public void startRecursiveGBean(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startRecursiveGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
startRecursiveGBean
public void startRecursiveGBean(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
startRecursiveGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
isRunning
public boolean isRunning(org.apache.geronimo.gbean.AbstractName name)
- Specified by:
isRunning
in interface org.apache.geronimo.kernel.Kernel
isRunning
public boolean isRunning(String shortName)
- Specified by:
isRunning
in interface org.apache.geronimo.kernel.Kernel
isRunning
public boolean isRunning(Class type)
- Specified by:
isRunning
in interface org.apache.geronimo.kernel.Kernel
isRunning
public boolean isRunning(String shortName,
Class type)
- Specified by:
isRunning
in interface org.apache.geronimo.kernel.Kernel
stopGBean
public void stopGBean(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
stopGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
stopGBean
public void stopGBean(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
stopGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
stopGBean
public void stopGBean(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
stopGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
stopGBean
public void stopGBean(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
stopGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
unloadGBean
public void unloadGBean(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
unloadGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
unloadGBean
public void unloadGBean(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
unloadGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
unloadGBean
public void unloadGBean(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
unloadGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
unloadGBean
public void unloadGBean(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException,
IllegalStateException
- Specified by:
unloadGBean
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
IllegalStateException
getGBeanState
public int getGBeanState(ObjectName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanState
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanState
public int getGBeanState(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanState
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanState
public int getGBeanState(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanState
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanState
public int getGBeanState(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanState
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanState
public int getGBeanState(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanState
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanStartTime
public long getGBeanStartTime(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanStartTime
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanStartTime
public long getGBeanStartTime(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanStartTime
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanStartTime
public long getGBeanStartTime(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanStartTime
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanStartTime
public long getGBeanStartTime(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanStartTime
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getAttribute
public Object getAttribute(ObjectName objectName,
String attributeName)
throws Exception
- Specified by:
getAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
Exception
getAttribute
public Object getAttribute(org.apache.geronimo.gbean.AbstractName abstractName,
String attributeName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
getAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
getAttribute
public Object getAttribute(String shortName,
String attributeName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
getAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
getAttribute
public Object getAttribute(Class type,
String attributeName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
getAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
getAttribute
public Object getAttribute(String shortName,
Class type,
String attributeName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
getAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
setAttribute
public void setAttribute(org.apache.geronimo.gbean.AbstractName abstractName,
String attributeName,
Object attributeValue)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
setAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
setAttribute
public void setAttribute(String shortName,
String attributeName,
Object attributeValue)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
setAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
setAttribute
public void setAttribute(Class type,
String attributeName,
Object attributeValue)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
setAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
setAttribute
public void setAttribute(String shortName,
Class type,
String attributeName,
Object attributeValue)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchAttributeException,
Exception
- Specified by:
setAttribute
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchAttributeException
Exception
invoke
public Object invoke(ObjectName objectName,
String methodName)
throws Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
Exception
invoke
public Object invoke(org.apache.geronimo.gbean.AbstractName abstractName,
String methodName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(String shortName,
String methodName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(Class type,
String methodName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(String shortName,
Class type,
String methodName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(ObjectName objectName,
String methodName,
Object[] args,
String[] types)
throws Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
Exception
invoke
public Object invoke(org.apache.geronimo.gbean.AbstractName abstractName,
String methodName,
Object[] args,
String[] types)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(String shortName,
String methodName,
Object[] args,
String[] types)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(Class type,
String methodName,
Object[] args,
String[] types)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
invoke
public Object invoke(String shortName,
Class type,
String methodName,
Object[] args,
String[] types)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.NoSuchOperationException,
org.apache.geronimo.kernel.InternalKernelException,
Exception
- Specified by:
invoke
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.NoSuchOperationException
org.apache.geronimo.kernel.InternalKernelException
Exception
isLoaded
public boolean isLoaded(org.apache.geronimo.gbean.AbstractName name)
- Specified by:
isLoaded
in interface org.apache.geronimo.kernel.Kernel
isLoaded
public boolean isLoaded(String shortName)
- Specified by:
isLoaded
in interface org.apache.geronimo.kernel.Kernel
isLoaded
public boolean isLoaded(Class type)
- Specified by:
isLoaded
in interface org.apache.geronimo.kernel.Kernel
isLoaded
public boolean isLoaded(String shortName,
Class type)
- Specified by:
isLoaded
in interface org.apache.geronimo.kernel.Kernel
getGBeanInfo
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(ObjectName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanInfo
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanInfo
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanInfo
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanInfo
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanInfo
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanInfo
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanInfo
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanInfo
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getGBeanInfo
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
listGBeans
public Set listGBeans(ObjectName pattern)
- Specified by:
listGBeans
in interface org.apache.geronimo.kernel.Kernel
listGBeans
public Set listGBeans(Set patterns)
- Specified by:
listGBeans
in interface org.apache.geronimo.kernel.Kernel
registerShutdownHook
public void registerShutdownHook(Runnable hook)
- Specified by:
registerShutdownHook
in interface org.apache.geronimo.kernel.Kernel
unregisterShutdownHook
public void unregisterShutdownHook(Runnable hook)
- Specified by:
unregisterShutdownHook
in interface org.apache.geronimo.kernel.Kernel
shutdown
public void shutdown()
- Specified by:
shutdown
in interface org.apache.geronimo.kernel.Kernel
getClassLoaderFor
public ClassLoader getClassLoaderFor(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getClassLoaderFor
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getClassLoaderFor
public ClassLoader getClassLoaderFor(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getClassLoaderFor
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getClassLoaderFor
public ClassLoader getClassLoaderFor(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getClassLoaderFor
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getClassLoaderFor
public ClassLoader getClassLoaderFor(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Specified by:
getClassLoaderFor
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
getGBeanData
public org.apache.geronimo.gbean.GBeanData getGBeanData(org.apache.geronimo.gbean.AbstractName name)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException
- Specified by:
getGBeanData
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
getGBeanData
public org.apache.geronimo.gbean.GBeanData getGBeanData(String shortName)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException
- Specified by:
getGBeanData
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
getGBeanData
public org.apache.geronimo.gbean.GBeanData getGBeanData(Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException
- Specified by:
getGBeanData
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
getGBeanData
public org.apache.geronimo.gbean.GBeanData getGBeanData(String shortName,
Class type)
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException
- Specified by:
getGBeanData
in interface org.apache.geronimo.kernel.Kernel
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
getAbstractNameFor
public org.apache.geronimo.gbean.AbstractName getAbstractNameFor(Object service)
- Specified by:
getAbstractNameFor
in interface org.apache.geronimo.kernel.Kernel
getShortNameFor
public String getShortNameFor(Object service)
- Specified by:
getShortNameFor
in interface org.apache.geronimo.kernel.Kernel
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface org.apache.geronimo.kernel.Kernel
listGBeans
public Set listGBeans(org.apache.geronimo.gbean.AbstractNameQuery query)
- Specified by:
listGBeans
in interface org.apache.geronimo.kernel.Kernel
getDependencyManager
public org.apache.geronimo.kernel.DependencyManager getDependencyManager()
- Throws UnsupportedOperationException. The dependency manager is not accesable over a remote connection.
- Specified by:
getDependencyManager
in interface org.apache.geronimo.kernel.Kernel
getLifecycleMonitor
public org.apache.geronimo.kernel.lifecycle.LifecycleMonitor getLifecycleMonitor()
- Throws UnsupportedOperationException. The lifecycle monitor is not accesable over a remote connection.
- Specified by:
getLifecycleMonitor
in interface org.apache.geronimo.kernel.Kernel
getProxyManager
public org.apache.geronimo.kernel.proxy.ProxyManager getProxyManager()
- Specified by:
getProxyManager
in interface org.apache.geronimo.kernel.Kernel
boot
public void boot()
throws Exception
- Throws UnsupportedOperationException. A remote kernel will alreayd be booted.
- Specified by:
boot
in interface org.apache.geronimo.kernel.Kernel
- Throws:
Exception
Copyright © 2006 Apache Software Foundation. All Rights Reserved.