public abstract class AbstractEndpointFactoryBean extends EndpointURIEndpointBuilder implements org.springframework.beans.factory.FactoryBean, Initialisable
Modifier and Type | Field and Description |
---|---|
protected Log |
logger |
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
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
AbstractEndpointFactoryBean() |
AbstractEndpointFactoryBean(EndpointURIEndpointBuilder global) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doGetObject() |
Object |
getObject() |
void |
initialise()
Method used to perform any initialisation work.
|
boolean |
isSingleton() |
addMessageProcessor, addResponseMessageProcessor, addResponseTransformer, addResponseTransformerProcessors, addTransformer, addTransformerProcessors, buildInboundEndpoint, buildOutboundEndpoint, checkInboundExchangePattern, clone, createInboundEndpoint, createOutboundEndpoint, 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
protected final Log logger
public AbstractEndpointFactoryBean(EndpointURIEndpointBuilder global) throws EndpointException
EndpointException
public AbstractEndpointFactoryBean()
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public void initialise() throws InitialisationException
Initialisable
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.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.