|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.container.AbstractContainerContext
org.mule.extras.hivemind.HiveMindContext
public class HiveMindContext
HiveMindContext
is a HiveMind Context that can expose HiveMind
managed services for use in the Mule framework.
Constructor Summary | |
---|---|
HiveMindContext()
|
Method Summary | |
---|---|
void |
configure(Reader configuration)
Just log that we don't need any configuration fragment. |
void |
dispose()
Shutdown the registry so to notify every org.apache.hivemind.events.RegistryShutdownListener . |
Object |
getComponent(Object key)
Queries a component from the underlying container |
protected org.apache.hivemind.Registry |
getRegistry()
|
void |
initialise()
Here we build the registry from the standard deployment descriptors location. |
Methods inherited from class org.mule.impl.container.AbstractContainerContext |
---|
configure, getDefaultDocType, getDefaultEncoding, getName, getXmlDeclaration, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HiveMindContext()
Method Detail |
---|
protected org.apache.hivemind.Registry getRegistry()
public Object getComponent(Object key) throws ObjectNotFoundException
UMOContainerContext
key
- the key fo find the component with. Its up to the individual
implementation to check the type of this key and look up objects
accordingly
ObjectNotFoundException
- if the component is not foundpublic void configure(Reader configuration) throws ContainerException
configure
in class AbstractContainerContext
ContainerException
public void initialise() throws InitialisationException
initialise
in interface Initialisable
initialise
in class AbstractContainerContext
InitialisationException
- if a fatal error occurs causing the Mule
instance to shutdown
RecoverableException
- if an error occurs that can be recovered frompublic void dispose()
org.apache.hivemind.events.RegistryShutdownListener
.
dispose
in interface Disposable
dispose
in class AbstractContainerContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |