org.apache.servicemix.common
Class Endpoint
java.lang.Object
org.apache.servicemix.common.Endpoint
- Direct Known Subclasses:
- SimpleEndpoint
public abstract class Endpoint
- extends Object
service
protected QName service
endpoint
protected String endpoint
interfaceName
protected QName interfaceName
description
protected Document description
definition
protected javax.wsdl.Definition definition
serviceUnit
protected ServiceUnit serviceUnit
logger
protected Log logger
Endpoint
public Endpoint()
Endpoint
public Endpoint(ServiceUnit serviceUnit,
QName service,
String endpoint)
getEndpoint
public String getEndpoint()
- Returns:
- Returns the endpoint.
setEndpoint
public void setEndpoint(String endpoint)
- Parameters:
endpoint - The endpoint to set.
getService
public QName getService()
- Returns:
- Returns the service.
setService
public void setService(QName service)
- Parameters:
service - The service to set.
getRole
public abstract javax.jbi.messaging.MessageExchange.Role getRole()
- Returns:
- Returns the role.
getDescription
public Document getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(Document description)
- Parameters:
description - The description to set.
getInterfaceName
public QName getInterfaceName()
- Returns:
- Returns the interfaceName.
setInterfaceName
public void setInterfaceName(QName interfaceName)
- Parameters:
interfaceName - The interfaceName to set.
getServiceUnit
public ServiceUnit getServiceUnit()
- Returns:
- Returns the serviceUnit.
setServiceUnit
public void setServiceUnit(ServiceUnit serviceUnit)
- Parameters:
serviceUnit - The serviceUnit to set.
isExchangeOkay
public boolean isExchangeOkay(javax.jbi.messaging.MessageExchange exchange)
activate
public abstract void activate()
throws Exception
- Throws:
Exception
deactivate
public abstract void deactivate()
throws Exception
- Throws:
Exception
getProcessor
public abstract ExchangeProcessor getProcessor()
toString
public String toString()
- Overrides:
toString in class Object
validate
public void validate()
throws javax.jbi.management.DeploymentException
- Validate the endpoint at either deployment time for statically defined endpoints or at runtime for dynamic endpoints
- Throws:
javax.jbi.management.DeploymentException
getDefinition
public javax.wsdl.Definition getDefinition()
setDefinition
public void setDefinition(javax.wsdl.Definition definition)
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.