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 org.mule.registry.AbstractRegistry |
dispose, doDispose, getAgents, getConnectors, getDefaultScope, getEndpoints, getLifecycleManager, getModels, getNearestTransformerMatch, getParent, getRegistryId, getTransformers, initialise, isDisposed, isDisposing, isInitialised, isInitialising, lookupAgent, lookupConnector, lookupEndpoint, lookupEndpointBuilder, lookupEndpointFactory, lookupModel, lookupObject, lookupObject, lookupObject, lookupObject, lookupObjects, lookupObjects, lookupService, lookupServices, lookupServices, lookupSystemModel, lookupTransformer, lookupTransformers, registerObject, registerObject, registerTransformer, setDefaultScope, setParent, unsupportedOperation |
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()
TransientRegistry
public TransientRegistry(Registry parent)
createLifecycleManager
protected LifecycleManager createLifecycleManager()
- Specified by:
createLifecycleManager
in class AbstractRegistry
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise
in class AbstractRegistry
- Throws:
InitialisationException
applyProcessors
protected void applyProcessors(Map objects)
registerObjects
public void registerObjects(Map objects)
throws RegistrationException
- Throws:
RegistrationException
doLookupObject
protected Object doLookupObject(String key)
- Specified by:
doLookupObject
in class AbstractRegistry
- Returns:
- null if object not found
doLookupObjects
public Collection doLookupObjects(Class returntype)
- Specified by:
doLookupObjects
in class AbstractRegistry
lookupServiceDescriptor
public ServiceDescriptor lookupServiceDescriptor(String type,
String name,
Properties overrides)
throws ServiceException
- Looks up the service descriptor from a singleton cache and creates a new one if not found.
- Throws:
ServiceException
createServiceDescriptor
protected ServiceDescriptor createServiceDescriptor(String type,
String name,
Properties overrides)
throws ServiceException
- Throws:
ServiceException
getObjectTypeMap
protected Map getObjectTypeMap(Object o)
applyProcessors
protected Object applyProcessors(Object object)
doRegisterObject
protected void doRegisterObject(String key,
Object value)
throws RegistrationException
- Allows for arbitary registration of transient objects
- Parameters:
key
- value
-
- Throws:
RegistrationException
doRegisterObject
protected void doRegisterObject(String key,
Object object,
Object metadata)
throws RegistrationException
- Allows for arbitary registration of transient objects
- Specified by:
doRegisterObject
in class AbstractRegistry
- Parameters:
key
- value
-
- Throws:
RegistrationException
registerAgent
public void registerAgent(Agent agent)
throws MuleException
- Throws:
MuleException
registerConnector
public void registerConnector(Connector connector)
throws MuleException
- Throws:
MuleException
registerEndpoint
public void registerEndpoint(ImmutableEndpoint endpoint)
throws MuleException
- Throws:
MuleException
registerEndpointBuilder
public void registerEndpointBuilder(String name,
EndpointBuilder builder)
throws MuleException
- Throws:
MuleException
registerModel
public void registerModel(Model model)
throws MuleException
- Throws:
MuleException
doRegisterTransformer
protected void doRegisterTransformer(Transformer transformer)
throws MuleException
- Specified by:
doRegisterTransformer
in class AbstractRegistry
- Throws:
MuleException
registerService
public void registerService(Service service)
throws MuleException
- Throws:
MuleException
unregisterObject
protected void unregisterObject(String key,
Object metadata)
throws MuleException
- Throws:
MuleException
unregisterObject
public void unregisterObject(String key)
throws MuleException
- Throws:
MuleException
unregisterService
public void unregisterService(String serviceName)
throws MuleException
- Throws:
MuleException
unregisterAgent
public void unregisterAgent(String agentName)
throws MuleException
- Throws:
MuleException
unregisterConnector
public void unregisterConnector(String connectorName)
throws MuleException
- Throws:
MuleException
unregisterEndpoint
public void unregisterEndpoint(String endpointName)
throws MuleException
- Throws:
MuleException
unregisterModel
public void unregisterModel(String modelName)
throws MuleException
- Throws:
MuleException
unregisterTransformer
public void unregisterTransformer(String transformerName)
throws MuleException
- Throws:
MuleException
lookupTransformer
public Transformer lookupTransformer(String name)
- Specified by:
lookupTransformer
in interface Registry
- Overrides:
lookupTransformer
in class AbstractRegistry
isReadOnly
public boolean isReadOnly()
isRemote
public boolean isRemote()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.