org.mule.config.spring.factories
Class AbstractEndpointFactoryBean
java.lang.Object
org.mule.endpoint.AbstractEndpointBuilder
org.mule.endpoint.EndpointURIEndpointBuilder
org.mule.config.spring.factories.AbstractEndpointFactoryBean
- All Implemented Interfaces:
- Cloneable, MuleContextAware, EndpointBuilder, Initialisable, org.springframework.beans.factory.FactoryBean
- Direct Known Subclasses:
- InboundEndpointFactoryBean, OutboundEndpointFactoryBean
public abstract class AbstractEndpointFactoryBean
- extends EndpointURIEndpointBuilder
- implements org.springframework.beans.factory.FactoryBean, Initialisable
Abstract spring FactoryBean used to creating endpoints via spring.
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 |
Methods inherited from interface org.springframework.beans.factory.FactoryBean |
getObjectType |
logger
protected final Log logger
AbstractEndpointFactoryBean
public AbstractEndpointFactoryBean(EndpointURIEndpointBuilder global)
throws EndpointException
- Throws:
EndpointException
AbstractEndpointFactoryBean
public AbstractEndpointFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
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
doGetObject
protected abstract Object doGetObject()
throws Exception
- Throws:
Exception
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.