public class EndpointFactoryBean extends EndpointURIEndpointBuilder implements org.springframework.beans.factory.FactoryBean, MuleContextAware, Initialisable
Modifier and Type | Field and Description |
---|---|
static String |
ALWAYS_CREATE_STRING |
static String |
ENDPOINT_TYPE_RECEIVER |
static String |
ENDPOINT_TYPE_SENDER |
protected org.apache.commons.logging.Log |
logger |
static String |
NEVER_CREATE_STRING |
connectionStrategy, connector, createConnector, deleteUnacceptedMessages, encoding, filter, initialState, muleContext, name, properties, PROPERTY_REMOTE_SYNC, PROPERTY_REMOTE_SYNC_TIMEOUT, registryId, remoteSync, remoteSyncTimeout, responseTransformers, securityFilter, synchronous, transactionConfig, transformers, uriBuilder
PHASE_NAME
Constructor and Description |
---|
EndpointFactoryBean() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class |
getObjectType() |
void |
initialise()
Method used to perform any initialisation work.
|
boolean |
isSingleton() |
void |
setType(String type) |
addTransformer, buildInboundEndpoint, buildOutboundEndpoint, clone, doBuildInboundEndpoint, doBuildOutboundEndpoint, equal, equals, getBooleanProperty, getConnectionStrategy, getConnector, getDefaultConnectionStrategy, getDefaultConnector, getDefaultDeleteUnacceptedMessages, getDefaultEndpointEncoding, getDefaultFilter, getDefaultInboundTransformers, getDefaultInitialState, getDefaultOutboundTransformers, getDefaultRemoteSync, getDefaultRemoteSyncTimeout, getDefaultResponseTransformers, getDefaultSecurityFilter, getDefaultSynchronous, getDefaultTransactionConfig, getDeleteUnacceptedMessages, getEndpointBuilder, getEndpointEncoding, getFilter, getInboundEndpointResponseTransformers, getInboundTransformers, getInitialState, getIntegerProperty, getName, getOutboundEndpointResponseTransformers, getOutboundTransformers, getProperties, getRemoteSync, getRemoteSyncTimeout, getSecurityFilter, getSynchronous, getTransactionConfig, hashCode, setConnectionStrategy, setConnector, setCreateConnector, setDeleteUnacceptedMessages, setEncoding, setFilter, setInitialState, setMuleContext, setName, setProperties, setPropertiesFromProperties, setProperty, setRegistryId, setRemoteSync, setRemoteSyncTimeout, setResponseTransformers, setSecurityFilter, setSynchronous, setTransactionConfig, setTransformers, setURIBuilder
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setMuleContext
public static final String ENDPOINT_TYPE_SENDER
public static final String ENDPOINT_TYPE_RECEIVER
public static final String ALWAYS_CREATE_STRING
public static final String NEVER_CREATE_STRING
protected final org.apache.commons.logging.Log logger
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
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 frompublic void setType(String type)
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.