org.apache.servicemix.jbi.framework
Class Endpoint

java.lang.Object
  extended by org.apache.servicemix.jbi.framework.Endpoint
All Implemented Interfaces:
EndpointMBean, MBeanInfoProvider

public class Endpoint
extends Object
implements EndpointMBean, MBeanInfoProvider


Constructor Summary
Endpoint(AbstractServiceEndpoint endpoint, Registry registry)
           
 
Method Summary
 MBeanAttributeInfo[] getAttributeInfos()
          Get an array of MBeanAttributeInfo
 String getComponentName()
           
 String getDescription()
          Get the Description of the item
protected  AbstractServiceEndpoint getEndpoint()
           
 String getEndpointName()
           
 QName[] getInterfaces()
           
 String getName()
          Get the name of the item
 Object getObjectToManage()
          Get the Object to Manage
 MBeanOperationInfo[] getOperationInfos()
          Get an array of MBeanOperationInfo
 QName getServiceName()
           
 String getSubType()
          Get the type of this mbean
 String getType()
          Get the type of this mbean
 String loadReference()
           
 String loadWSDL()
           
 String send(String content, String operation, String mep)
           
 void setPropertyChangeListener(PropertyChangeListener l)
          Register for propertyChange events
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Endpoint

public Endpoint(AbstractServiceEndpoint endpoint,
                Registry registry)
Method Detail

getEndpointName

public String getEndpointName()
Specified by:
getEndpointName in interface EndpointMBean

getInterfaces

public QName[] getInterfaces()
Specified by:
getInterfaces in interface EndpointMBean

getServiceName

public QName getServiceName()
Specified by:
getServiceName in interface EndpointMBean

loadReference

public String loadReference()
Specified by:
loadReference in interface EndpointMBean

loadWSDL

public String loadWSDL()
Specified by:
loadWSDL in interface EndpointMBean

getComponentName

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

getAttributeInfos

public MBeanAttributeInfo[] getAttributeInfos()
                                       throws JMException
Description copied from interface: MBeanInfoProvider
Get an array of MBeanAttributeInfo

Specified by:
getAttributeInfos in interface MBeanInfoProvider
Returns:
array of AttributeInfos
Throws:
JMException

getOperationInfos

public MBeanOperationInfo[] getOperationInfos()
                                       throws JMException
Description copied from interface: MBeanInfoProvider
Get an array of MBeanOperationInfo

Specified by:
getOperationInfos in interface MBeanInfoProvider
Returns:
array of OperationInfos
Throws:
JMException

getObjectToManage

public Object getObjectToManage()
Description copied from interface: MBeanInfoProvider
Get the Object to Manage

Specified by:
getObjectToManage in interface MBeanInfoProvider
Returns:
the Object to Manage

getName

public String getName()
Description copied from interface: MBeanInfoProvider
Get the name of the item

Specified by:
getName in interface MBeanInfoProvider
Returns:
the name

getType

public String getType()
Description copied from interface: MBeanInfoProvider
Get the type of this mbean

Specified by:
getType in interface MBeanInfoProvider
Returns:
the type

getSubType

public String getSubType()
Description copied from interface: MBeanInfoProvider
Get the type of this mbean

Specified by:
getSubType in interface MBeanInfoProvider
Returns:
the type

getDescription

public String getDescription()
Description copied from interface: MBeanInfoProvider
Get the Description of the item

Specified by:
getDescription in interface MBeanInfoProvider
Returns:
the description

setPropertyChangeListener

public void setPropertyChangeListener(PropertyChangeListener l)
Description copied from interface: MBeanInfoProvider
Register for propertyChange events

Specified by:
setPropertyChangeListener in interface MBeanInfoProvider

getEndpoint

protected AbstractServiceEndpoint getEndpoint()

send

public String send(String content,
                   String operation,
                   String mep)
Specified by:
send in interface EndpointMBean


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.