|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.kernel.plugins.util.KernelLocator
public class KernelLocator
A simple singleton that provides access to the Kernel the KernelLocator is associated with.
| Constructor Summary | |
|---|---|
KernelLocator()
|
|
| Method Summary | |
|---|---|
static Kernel |
getKernel()
|
void |
setKernelControllerContext(KernelControllerContext context)
Set the controller context. |
void |
unsetKernelControllerContext(KernelControllerContext context)
Unset the controller context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KernelLocator()
| Method Detail |
|---|
public void setKernelControllerContext(KernelControllerContext context)
throws Exception
KernelControllerContextAwareThis is invoked after construction with the controller context.
WARNING: This protocol is subject to change with the classadapter implementation.
setKernelControllerContext in interface KernelControllerContextAwarecontext - the context
Exception - for any error
public void unsetKernelControllerContext(KernelControllerContext context)
throws Exception
KernelControllerContextAwareThis is before uninstallation with null.
WARNING: This protocol is subject to change with the classadapter implementation.
unsetKernelControllerContext in interface KernelControllerContextAwarecontext - the context
Exception - for any errorpublic static Kernel getKernel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||