org.mule.module.management.mbean
Class EndpointService

java.lang.Object
  extended by org.mule.module.management.mbean.EndpointService
All Implemented Interfaces:
EndpointServiceMBean

public class EndpointService
extends Object
implements EndpointServiceMBean

The EndpointServiceMBean allows you to check the confiugration of an endpoint and conect/disconnect endpoints manually.


Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
EndpointService(ImmutableEndpoint endpoint)
           
EndpointService(MessageReceiver receiver)
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 String getAddress()
           
 String getComponentName()
           
 String getName()
           
 boolean isConnected()
           
 boolean isInbound()
           
 boolean isOutbound()
           
 boolean isSynchronous()
           
 void setComponentName(String componentName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

EndpointService

public EndpointService(ImmutableEndpoint endpoint)

EndpointService

public EndpointService(MessageReceiver receiver)
Method Detail

getAddress

public String getAddress()
Specified by:
getAddress in interface EndpointServiceMBean

getName

public String getName()
Specified by:
getName in interface EndpointServiceMBean

isConnected

public boolean isConnected()
Specified by:
isConnected in interface EndpointServiceMBean

connect

public void connect()
             throws Exception
Specified by:
connect in interface EndpointServiceMBean
Throws:
Exception

disconnect

public void disconnect()
                throws Exception
Specified by:
disconnect in interface EndpointServiceMBean
Throws:
Exception

isInbound

public boolean isInbound()
Specified by:
isInbound in interface EndpointServiceMBean

isOutbound

public boolean isOutbound()
Specified by:
isOutbound in interface EndpointServiceMBean

isSynchronous

public boolean isSynchronous()
Specified by:
isSynchronous in interface EndpointServiceMBean

getComponentName

public String getComponentName()
Specified by:
getComponentName in interface EndpointServiceMBean

setComponentName

public void setComponentName(String componentName)


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