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, AnnotatedObject, MuleContextAware, EndpointBuilder, Initialisable, org.springframework.beans.factory.FactoryBean
- Direct Known Subclasses:
- InboundEndpointFactoryBean, OutboundEndpointFactoryBean, PollInboundEndpointFactoryBean
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, disableTransportTransformer, encoding, initialState, messageExchangePattern, messageProcessors, messageProcessorsFactory, mimeType, muleContext, name, properties, PROPERTY_RESPONSE_PROPERTIES, PROPERTY_RESPONSE_TIMEOUT, redeliveryPolicy, registryId, responseMessageProcessors, responsePropertiesList, responseTimeout, responseTransformers, retryPolicyTemplate, synchronous, transactionConfig, transformers, uriBuilder |
Methods inherited from class org.mule.endpoint.AbstractEndpointBuilder |
addMessageProcessor, addReplyToProcessors, addResponseMessageProcessor, addResponseTransformer, addResponseTransformerProcessors, addTransformer, addTransformerProcessors, buildInboundEndpoint, buildOutboundEndpoint, checkInboundExchangePattern, clone, doBuildInboundEndpoint, doBuildOutboundEndpoint, equal, equals, getAnnotation, getAnnotations, getConnector, getDefaultConnector, getDefaultDeleteUnacceptedMessages, getDefaultDisableTransportTransformer, getDefaultEndpointEncoding, getDefaultInitialState, getDefaultMessageProcessorsFactory, getDefaultResponseTimeout, getDefaultSecurityFilter, getDefaultTransactionConfig, getDeleteUnacceptedMessages, getEndpointBuilder, getEndpointEncoding, getInitialState, getMessageProcessors, getMessageProcessorsFactory, getMimeType, getName, getProperties, getRedeliveryPolicy, getResponseMessageProcessors, getResponseTimeout, getResponseTransformersFromUri, getRetryPolicyTemplate, getScheme, getSecurityFilter, getTransactionConfig, getTransformersFromUri, hashCode, initExchangePatternFromConnectorDefault, isAlwaysCreateConnector, isDisableTransportTransformer, prepareToBuildEndpoint, setAnnotations, setConnector, setCreateConnector, setDeleteUnacceptedMessages, setDisableTransportTransformer, setEncoding, setExchangePattern, setInitialState, setMessageProcessors, setMimeType, setMuleContext, setName, setProperties, setPropertiesFromProperties, setProperty, setRedeliveryPolicy, setRegistryId, setResponseMessageProcessors, setResponseTimeout, setResponseTransformers, setRetryPolicyTemplate, 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-2012 MuleSoft, Inc.. All Rights Reserved.