com.softwareag.jca
Class RPCActivationSpec

java.lang.Object
  extended by com.softwareag.jca.PMQActivationSpec
      extended by com.softwareag.jca.RPCActivationSpec
All Implemented Interfaces:
javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapterAssociation
Direct Known Subclasses:
RPCResourceAdapter

public class RPCActivationSpec
extends PMQActivationSpec

Implements the parameters for an instance of RPCMessageServer.

Version:
$Revision: 1.1 $

Constructor Summary
RPCActivationSpec()
           
 
Method Summary
 void addResource(RPCMessageServer server)
           
 java.lang.String getEndpoint()
           
 java.lang.String getMapping()
           
 java.lang.String getServer()
           
 void releaseResource()
          Shutdown all server.
 void setEndpoint(java.lang.String value)
          Set SOAP endpoint if the message should not dispatched to EJB.
 void setMapping(java.lang.String value)
          Sets the XML-RPC mapping document (XMM file) which is generating by the EntireX Workbench.
 void setResourceAdapter(javax.resource.spi.ResourceAdapter adapter)
          Inherits the default properties from resource adapter.
 void setServer(java.lang.String value)
           
 
Methods inherited from class com.softwareag.jca.PMQActivationSpec
addResource, getBroker, getCompression, getEncryption, getEnvironment, getPassword, getQueue, getReplicates, getReplicatesInt, getResourceAdapter, getService, getToken, getTraceLevel, getUserid, setBroker, setCompression, setEncryption, setEnvironment, setPassword, setQueue, setReplicates, setReplicates, setService, setToken, setTraceLevel, setUserid, tokenizedService, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCActivationSpec

public RPCActivationSpec()
Method Detail

addResource

public void addResource(RPCMessageServer server)

releaseResource

public void releaseResource()
Description copied from class: PMQActivationSpec
Shutdown all server.

Overrides:
releaseResource in class PMQActivationSpec

setServer

public void setServer(java.lang.String value)

getServer

public java.lang.String getServer()

setMapping

public void setMapping(java.lang.String value)
Sets the XML-RPC mapping document (XMM file) which is generating by the EntireX Workbench. Use a CDATA section to envelop the XML document as string.

Parameters:
value -

getMapping

public java.lang.String getMapping()
Returns:
the XML-RPC mapping document as string.

setResourceAdapter

public void setResourceAdapter(javax.resource.spi.ResourceAdapter adapter)
                        throws javax.resource.ResourceException
Inherits the default properties from resource adapter.

Specified by:
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
Overrides:
setResourceAdapter in class PMQActivationSpec
Throws:
javax.resource.ResourceException

setEndpoint

public void setEndpoint(java.lang.String value)
Set SOAP endpoint if the message should not dispatched to EJB. The XML (SOAP document is sent to this endpoint.

Parameters:
value - endpoint URL

getEndpoint

public java.lang.String getEndpoint()
Returns:
SOAP endpoint


Copyright © 2004-2008 Software AG. All Rights Reserved.