public class SpringRegistry extends AbstractRegistry
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ConfigurableApplicationContext |
applicationContext |
static String |
REGISTRY_ID |
static String |
SPRING_APPLICATION_CONTEXT
Key used to lookup Spring Application Context from SpringRegistry via Mule's
Registry interface.
|
exactTransformerCache, lifecycleManager, logger, transformerListCacheDEFAULT_SCOPE, SCOPE_IMMEDIATE, SCOPE_LOCAL, SCOPE_REMOTEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
SpringRegistry() |
SpringRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext) |
SpringRegistry(String id) |
SpringRegistry(String id,
org.springframework.context.ConfigurableApplicationContext applicationContext) |
dispose, doInitialise, getDefaultScope, getLifecycleManager, getNearestTransformerMatch, getParent, getRegistryId, initialise, isDisposed, isDisposing, isInitialised, isInitialising, lookupAgent, lookupConnector, lookupEndpoint, lookupEndpointBuilder, lookupEndpointFactory, lookupModel, lookupObject, lookupObject, lookupObject, lookupObject, lookupObjects, lookupObjects, lookupService, lookupServices, lookupServices, lookupSystemModel, lookupTransformer, lookupTransformer, lookupTransformers, registerObject, registerObject, registerTransformer, setDefaultScope, setParent, unsupportedOperationpublic static final String REGISTRY_ID
public static final String SPRING_APPLICATION_CONTEXT
protected org.springframework.context.ConfigurableApplicationContext applicationContext
public SpringRegistry()
public SpringRegistry(String id)
public SpringRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext)
public SpringRegistry(String id, org.springframework.context.ConfigurableApplicationContext applicationContext)
protected LifecycleManager createLifecycleManager()
createLifecycleManager in class AbstractRegistryprotected Object doLookupObject(String key)
doLookupObject in class AbstractRegistryprotected Collection doLookupObjects(Class type)
doLookupObjects in class AbstractRegistrypublic ServiceDescriptor lookupServiceDescriptor(String type, String name, Properties overrides) throws ServiceException
ServiceExceptionpublic TransactionManager getTransactionManager()
public Collection getModels()
getModels in interface RegistrygetModels in class AbstractRegistrypublic Collection getConnectors()
getConnectors in interface RegistrygetConnectors in class AbstractRegistrypublic Collection getAgents()
getAgents in interface RegistrygetAgents in class AbstractRegistrypublic Collection getEndpoints()
getEndpoints in interface RegistrygetEndpoints in class AbstractRegistrypublic Collection getTransformers()
getTransformers in interface RegistrygetTransformers in class AbstractRegistrypublic boolean isReadOnly()
public boolean isRemote()
public void registerConnector(Connector connector) throws MuleException
MuleExceptionpublic void unregisterConnector(String connectorName) throws MuleException
MuleExceptionpublic void registerEndpoint(ImmutableEndpoint endpoint) throws MuleException
MuleExceptionpublic void unregisterEndpoint(String endpointName)
protected void doRegisterTransformer(Transformer transformer) throws MuleException
doRegisterTransformer in class AbstractRegistryMuleExceptionpublic void unregisterTransformer(String transformerName)
public void registerService(Service service) throws MuleException
MuleExceptionpublic void unregisterService(String serviceName)
public void registerModel(Model model) throws MuleException
MuleExceptionpublic void unregisterModel(String modelName)
public void registerAgent(Agent agent) throws MuleException
MuleExceptionpublic void unregisterAgent(String agentName) throws MuleException
MuleExceptionprotected void doRegisterObject(String key, Object value, Object metadata) throws RegistrationException
doRegisterObject in class AbstractRegistryRegistrationExceptionpublic void unregisterObject(String key)
public void registerObjects(Map objects) throws RegistrationException
RegistrationExceptionpublic void setConfiguration(MuleConfiguration config)
public void registerEndpointBuilder(String name, EndpointBuilder builder) throws MuleException
MuleExceptionprotected void doDispose()
doDispose in class AbstractRegistryCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.