org.mule.providers.jbi.components
Class AbstractEndpointComponent

java.lang.Object
  extended by org.mule.providers.jbi.components.AbstractJbiComponent
      extended by org.mule.providers.jbi.components.AbstractEndpointComponent
All Implemented Interfaces:
Runnable, javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, javax.resource.spi.work.Work
Direct Known Subclasses:
MuleDispatcher, MuleReceiver

public abstract class AbstractEndpointComponent
extends AbstractJbiComponent

A Jbi component that has a Mule muleEndpoint component configured on it. Both the Dispatcher and Receiver components extend this component.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.providers.jbi.components.AbstractJbiComponent
AbstractJbiComponent.MessageExchangeWorker
 
Field Summary
protected  String endpoint
           
protected  Map endpointProperties
           
protected  UMOEndpoint muleEndpoint
           
 
Fields inherited from class org.mule.providers.jbi.components.AbstractJbiComponent
context, deliveryChannel, exchangeFactory, IN, logger, mbeanName, name, OUT, service, serviceDescriptions, serviceUnitManager, started, workManager
 
Constructor Summary
protected AbstractEndpointComponent()
           
 
Method Summary
protected  void doInit()
           
 String getEndpoint()
           
 Map getEndpointProperties()
           
 UMOEndpoint getMuleEndpoint()
           
 void setEndpoint(String endpoint)
           
 void setEndpointProperties(Map endpointProperties)
           
 void setMuleEndpoint(UMOEndpoint muleEndpoint)
           
 
Methods inherited from class org.mule.providers.jbi.components.AbstractJbiComponent
createExtensionMBeanName, done, doShutdown, doStart, doStop, error, error, getExtensionMBean, getExtensionMBeanName, getLifeCycle, getName, getService, getServiceDescription, getServiceUnitManager, getWorkManager, handleException, init, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, release, resolveEndpointReference, run, setExtensionMBeanName, setName, setService, setServiceDescription, setWorkManager, shutDown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

muleEndpoint

protected UMOEndpoint muleEndpoint

endpoint

protected String endpoint

endpointProperties

protected Map endpointProperties
Constructor Detail

AbstractEndpointComponent

protected AbstractEndpointComponent()
Method Detail

getMuleEndpoint

public UMOEndpoint getMuleEndpoint()

setMuleEndpoint

public void setMuleEndpoint(UMOEndpoint muleEndpoint)

getEndpoint

public String getEndpoint()

setEndpoint

public void setEndpoint(String endpoint)

getEndpointProperties

public Map getEndpointProperties()

setEndpointProperties

public void setEndpointProperties(Map endpointProperties)

doInit

protected void doInit()
               throws javax.jbi.JBIException
Overrides:
doInit in class AbstractJbiComponent
Throws:
javax.jbi.JBIException


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