org.mule.config.spring.factories
Class EndpointFactoryBean
java.lang.Object
org.mule.endpoint.AbstractEndpointBuilder
org.mule.endpoint.EndpointURIEndpointBuilder
org.mule.config.spring.factories.EndpointFactoryBean
- All Implemented Interfaces:
- Cloneable, MuleContextAware, EndpointBuilder, Initialisable, org.springframework.beans.factory.FactoryBean
public class EndpointFactoryBean
- extends EndpointURIEndpointBuilder
- implements org.springframework.beans.factory.FactoryBean, MuleContextAware, Initialisable
Endpoint factory bean which uses type attribute to determine endpoint type (Used by 1to2migration module)
Fields inherited from class org.mule.endpoint.AbstractEndpointBuilder |
connector, createConnector, deleteUnacceptedMessages, encoding, filter, initialState, muleContext, name, properties, PROPERTY_RESPONSE_TIMEOUT, registryId, responseTimeout, responseTransformers, retryPolicyTemplate, securityFilter, synchronous, transactionConfig, transformers, uriBuilder |
Methods inherited from class org.mule.endpoint.AbstractEndpointBuilder |
addTransformer, buildInboundEndpoint, buildOutboundEndpoint, clone, doBuildInboundEndpoint, doBuildOutboundEndpoint, equal, equals, getBooleanProperty, getConnector, getDefaultConnector, getDefaultDeleteUnacceptedMessages, getDefaultEndpointEncoding, getDefaultFilter, getDefaultInboundTransformers, getDefaultInitialState, getDefaultOutboundTransformers, getDefaultResponseTimeout, getDefaultResponseTransformers, getDefaultSecurityFilter, getDefaultSynchronous, getDefaultTransactionConfig, getDeleteUnacceptedMessages, getEndpointBuilder, getEndpointEncoding, getFilter, getInboundEndpointResponseTransformers, getInboundTransformers, getInitialState, getIntegerProperty, getName, getOutboundEndpointResponseTransformers, getOutboundTransformers, getProperties, getResponseTimeout, getRetryPolicyTemplate, getSecurityFilter, getSynchronous, getTransactionConfig, hashCode, setConnector, setCreateConnector, setDeleteUnacceptedMessages, setEncoding, setFilter, setInitialState, setMuleContext, setName, setProperties, setPropertiesFromProperties, setProperty, setRegistryId, setResponseTimeout, setResponseTransformers, setRetryPolicyTemplate, setSecurityFilter, setSynchronous, setTransactionConfig, setTransformers, setURIBuilder |
ENDPOINT_TYPE_SENDER
public static final String ENDPOINT_TYPE_SENDER
- See Also:
- Constant Field Values
ENDPOINT_TYPE_RECEIVER
public static final String ENDPOINT_TYPE_RECEIVER
- See Also:
- Constant Field Values
ALWAYS_CREATE_STRING
public static final String ALWAYS_CREATE_STRING
- See Also:
- Constant Field Values
NEVER_CREATE_STRING
public static final String NEVER_CREATE_STRING
- See Also:
- Constant Field Values
logger
protected final Log logger
EndpointFactoryBean
public EndpointFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
initialise
public void initialise()
throws InitialisationException
- Description copied from interface:
Initialisable
- Method used to perform any initialisation work. If a fatal error occurs during
initialisation an
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
- Specified by:
initialise
in interface Initialisable
- Throws:
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdown
RecoverableException
- if an error occurs that can be recovered from
setType
public void setType(String type)
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.