|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MuleRegistry
Adds lookup/register/unregister methods for Mule-specific entities to the standard Registry interface.
Field Summary |
---|
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Method Summary | |
---|---|
Collection |
getAgents()
Deprecated. Use lookupAgent() instead |
Collection |
getConnectors()
Deprecated. Use lookupConnector() instead |
Collection |
getEndpoints()
Deprecated. Use EndpointFactory for creation/lookup of individual endpoints instead |
Collection |
getModels()
Deprecated. Use lookupModel() instead |
Collection |
getTransformers()
Deprecated. Use lookupTransformer() instead |
Agent |
lookupAgent(String agentName)
|
Connector |
lookupConnector(String name)
|
EndpointBuilder |
lookupEndpointBuilder(String name)
Looks-up endpoint builders which can be used to repeatably create endpoints with the same configuration. |
EndpointFactory |
lookupEndpointFactory()
|
Model |
lookupModel(String name)
|
Service |
lookupService(String name)
|
ServiceDescriptor |
lookupServiceDescriptor(String type,
String name,
Properties overrides)
|
Collection |
lookupServices()
|
Collection |
lookupServices(String model)
|
Model |
lookupSystemModel()
|
Transformer |
lookupTransformer(Class input,
Class output)
Will find a transformer that is the closest match to the desired input and output. |
Transformer |
lookupTransformer(String name)
|
List |
lookupTransformers(Class input,
Class output)
This method will return a list of Transformer objects that accept the given
input and return the given output type of object |
void |
registerAgent(Agent agent)
|
void |
registerConnector(Connector connector)
|
void |
registerEndpoint(ImmutableEndpoint endpoint)
|
void |
registerEndpointBuilder(String name,
EndpointBuilder builder)
|
void |
registerModel(Model model)
|
void |
registerService(Service service)
|
void |
registerTransformer(Transformer transformer)
|
void |
unregisterAgent(String agentName)
|
void |
unregisterConnector(String connectorName)
|
void |
unregisterEndpoint(String endpointName)
|
void |
unregisterModel(String modelName)
|
void |
unregisterService(String serviceName)
|
void |
unregisterTransformer(String transformerName)
|
Methods inherited from interface org.mule.api.registry.Registry |
---|
getRegistryId, isReadOnly, isRemote, lookupObject, lookupObject, lookupObjects, registerObject, registerObject, registerObjects, unregisterObject, unregisterObject |
Methods inherited from interface org.mule.api.lifecycle.Initialisable |
---|
initialise |
Methods inherited from interface org.mule.api.lifecycle.Disposable |
---|
dispose |
Method Detail |
---|
Connector lookupConnector(String name)
EndpointBuilder lookupEndpointBuilder(String name)
EndpointFactory lookupEndpointFactory()
Transformer lookupTransformer(String name)
Service lookupService(String name)
List lookupTransformers(Class input, Class output)
Transformer
objects that accept the given
input and return the given output type of object
input
- The desiered input type for the transformeroutput
- the desired output type for the transformer
Transformer lookupTransformer(Class input, Class output) throws TransformerException
input
- The desiered input type for the transformeroutput
- the desired output type for the transformer
TransformerException
- will be thrown if there is more than one matchCollection lookupServices(String model)
Collection lookupServices()
Model lookupModel(String name)
Model lookupSystemModel()
Agent lookupAgent(String agentName)
Collection getModels()
Collection getConnectors()
Collection getEndpoints()
EndpointFactory
for creation/lookup of individual endpoints instead
Collection getAgents()
Collection getTransformers()
void registerConnector(Connector connector) throws MuleException
MuleException
void unregisterConnector(String connectorName) throws MuleException
MuleException
void registerEndpoint(ImmutableEndpoint endpoint) throws MuleException
MuleException
void unregisterEndpoint(String endpointName) throws MuleException
MuleException
void registerEndpointBuilder(String name, EndpointBuilder builder) throws MuleException
MuleException
void registerTransformer(Transformer transformer) throws MuleException
MuleException
void unregisterTransformer(String transformerName) throws MuleException
MuleException
void registerService(Service service) throws MuleException
MuleException
void unregisterService(String serviceName) throws MuleException
MuleException
void registerModel(Model model) throws MuleException
MuleException
void unregisterModel(String modelName) throws MuleException
MuleException
void registerAgent(Agent agent) throws MuleException
MuleException
void unregisterAgent(String agentName) throws MuleException
MuleException
ServiceDescriptor lookupServiceDescriptor(String type, String name, Properties overrides) throws ServiceException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |