org.mule.registry
Class TransientRegistry
java.lang.Object
org.mule.registry.AbstractRegistry
org.mule.registry.TransientRegistry
- All Implemented Interfaces:
- Disposable, Initialisable, Registry
public class TransientRegistry
- extends AbstractRegistry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient Log logger
- logger used by this class
REGISTRY_ID
public static final String REGISTRY_ID
- See Also:
- Constant Field Values
TransientRegistry
public TransientRegistry(MuleContext context)
doInitialise
protected void doInitialise()
throws InitialisationException
- Specified by:
doInitialise
in class AbstractRegistry
- Throws:
InitialisationException
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractRegistry
applyProcessors
protected void applyProcessors(Map objects)
registerObjects
public void registerObjects(Map objects)
throws RegistrationException
- Throws:
RegistrationException
lookupObject
public Object lookupObject(String key)
- Description copied from interface:
Registry
- Look up a single object by name.
- Returns:
- object or null if not found
lookupObjects
public Collection lookupObjects(Class returntype)
- Description copied from interface:
Registry
- Look up all objects of a given type.
- Returns:
- collection of objects or empty collection if none found
applyProcessors
protected Object applyProcessors(Object object)
registerObject
public void registerObject(String key,
Object value)
throws RegistrationException
- Allows for arbitary registration of transient objects
- Parameters:
key
- value
-
- Throws:
RegistrationException
registerObject
public void registerObject(String key,
Object object,
Object metadata)
throws RegistrationException
- Allows for arbitary registration of transient objects
- Parameters:
key
- value
-
- Throws:
RegistrationException
unregisterObject
public void unregisterObject(String key,
Object metadata)
throws RegistrationException
- Throws:
RegistrationException
unregisterObject
public void unregisterObject(String key)
throws RegistrationException
- Throws:
RegistrationException
isReadOnly
public boolean isReadOnly()
isRemote
public boolean isRemote()
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.