public class JMSEndpoint extends ProtocolEndpoint
Constructor and Description |
---|
JMSEndpoint(JMSListener listener,
WorkerPool workerPool) |
Modifier and Type | Method and Description |
---|---|
JMSConnectionFactory |
getCf() |
ContentTypeRuleSet |
getContentTypeRuleSet() |
EndpointReference[] |
getEndpointReferences(AxisService service,
String ip)
Get the endpoint references for this protocol endpoint.
|
String |
getJndiDestinationName() |
String |
getJndiReplyDestinationName() |
String |
getReplyDestinationType() |
ServiceTaskManager |
getServiceTaskManager() |
boolean |
loadConfiguration(ParameterInclude params)
Configure the endpoint based on the provided parameters.
|
void |
setServiceTaskManager(ServiceTaskManager serviceTaskManager) |
createMessageContext, getConfigurationContext, getDescription, getListener, getService, getServiceName
public JMSEndpoint(JMSListener listener, WorkerPool workerPool)
public String getJndiDestinationName()
public String getJndiReplyDestinationName()
public String getReplyDestinationType()
public EndpointReference[] getEndpointReferences(AxisService service, String ip)
ProtocolEndpoint
getEndpointReferences
in class ProtocolEndpoint
service
- The service to build the EPR for. If ProtocolEndpoint.getService()
returns
a non null value, then it has the same value as this parameter, which
is never null.ip
- The host name or IP address of the local host. The implementation should use
this information instead of InetAddress.getLocalHost()
.
The value of this parameter may be null
, in which case the
implementation should use Utils.getIpAddress(
org.apache.axis2.engine.AxisConfiguration)
.TransportListener.getEPRsForService(String, String)
public ContentTypeRuleSet getContentTypeRuleSet()
public JMSConnectionFactory getCf()
public ServiceTaskManager getServiceTaskManager()
public void setServiceTaskManager(ServiceTaskManager serviceTaskManager)
public boolean loadConfiguration(ParameterInclude params) throws AxisFault
ProtocolEndpoint
false
. An exception should only be thrown if there is an
error or inconsistency in the parameters.loadConfiguration
in class ProtocolEndpoint
params
- The source of the parameters to configure the
endpoint. If the parameters are defined on
a service, this will be an AxisService
instance.true
if the parameters contained the required configuration
information and the endpoint has been configured, false
if
the no configuration for the endpoint is present in the parametersAxisFault
- if configuration information is present, but there is an
error or inconsistency in the parametersCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.