org.mule.config.builders
Class EndpointReference

java.lang.Object
  extended by org.mule.config.builders.EndpointReference

public class EndpointReference
extends Object

EndpointReference maintains a endpoint reference. Endpoints are cloned when they are looked up for the manager, if there are container properties or transformers set on the Endpoint the clone will have an inconsistent state if the transformers or container properties have not been resolved. This class holds the refernece and is invoked after the container properties/transformers are resolved.


Field Summary
protected static Log logger
          logger used by this class
 
Constructor Summary
EndpointReference(String propertyName, String endpointName, String address, String transformer, String responseTransformer, String createConnector, Object object)
           
 
Method Summary
 String getCreateConnector()
           
 String getEndpointName()
           
 UMOFilter getFilter()
           
 Object getObject()
           
 Map getProperties()
           
 String getPropertyName()
           
 UMOTransactionConfig getTransactionConfig()
           
 void resolveEndpoint()
           
 void setCreateConnector(String createConnector)
           
 void setFilter(UMOFilter filter)
           
 void setProperties(Map properties)
           
 void setTransactionConfig(UMOTransactionConfig transactionConfig)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static final Log logger
logger used by this class

Constructor Detail

EndpointReference

public EndpointReference(String propertyName,
                         String endpointName,
                         String address,
                         String transformer,
                         String responseTransformer,
                         String createConnector,
                         Object object)
Method Detail

getPropertyName

public String getPropertyName()

getEndpointName

public String getEndpointName()

getObject

public Object getObject()

getTransactionConfig

public UMOTransactionConfig getTransactionConfig()

setTransactionConfig

public void setTransactionConfig(UMOTransactionConfig transactionConfig)

getFilter

public UMOFilter getFilter()

setFilter

public void setFilter(UMOFilter filter)

getProperties

public Map getProperties()

setProperties

public void setProperties(Map properties)

getCreateConnector

public String getCreateConnector()

setCreateConnector

public void setCreateConnector(String createConnector)

resolveEndpoint

public void resolveEndpoint()
                     throws InitialisationException
Throws:
InitialisationException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.