|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.jca.util.JPPFAccessorImpl
org.jppf.jca.spi.JPPFResourceAdapter
public class JPPFResourceAdapter
Implementation of the JPPF Resource Adapter for J2EE. This class initiates a JPPF client with a pool of driver connections.
| Field Summary |
|---|
| Fields inherited from class org.jppf.jca.util.JPPFAccessorImpl |
|---|
jppfClient, logWriter |
| Constructor Summary | |
|---|---|
JPPFResourceAdapter()
|
|
| Method Summary | |
|---|---|
void |
endpointActivation(MessageEndpointFactory arg0,
ActivationSpec arg1)
Not supported. |
void |
endpointDeactivation(MessageEndpointFactory arg0,
ActivationSpec arg1)
This method does nothing. |
Integer |
getAppServerPort()
Deprecated. use getClientConfiguration() instead. |
Integer |
getClassServerPort()
Deprecated. use getClientConfiguration() instead. |
String |
getClientConfiguration()
Get the string holding the client configuration. |
Integer |
getConnectionPoolSize()
Deprecated. use getClientConfiguration() instead. |
String |
getServerHost()
Deprecated. use getClientConfiguration() instead. |
XAResource[] |
getXAResources(ActivationSpec[] arg0)
This method does nothing. |
void |
setAppServerPort(Integer appServerPort)
Deprecated. use setClientConfiguration(String) instead. |
void |
setClassServerPort(Integer classServerPort)
Deprecated. use setClientConfiguration(String) instead. |
void |
setClientConfiguration(String clientConfiguration)
Set the string holding the client configuration. |
void |
setConnectionPoolSize(Integer connectionPoolSize)
Deprecated. use setClientConfiguration(String) instead. |
void |
setServerHost(String serverHost)
Deprecated. use setClientConfiguration(String) instead. |
void |
start(BootstrapContext ctx)
Start this resource adapater with the specified bootstrap context. |
void |
stop()
Stop this resource adapter. |
| Methods inherited from class org.jppf.jca.util.JPPFAccessorImpl |
|---|
getJppfClient, getLogWriter, setJppfClient, setLogWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFResourceAdapter()
| Method Detail |
|---|
public void start(BootstrapContext ctx)
throws ResourceAdapterInternalException
start in interface ResourceAdapterctx - bootstrap context provided by the application server.
ResourceAdapterInternalException - if an error occurred while starting this resource adapter.ResourceAdapter.start(javax.resource.spi.BootstrapContext)public void stop()
stop in interface ResourceAdapterResourceAdapter.stop()
public void endpointActivation(MessageEndpointFactory arg0,
ActivationSpec arg1)
throws ResourceException
endpointActivation in interface ResourceAdapterarg0 - not used.arg1 - not used.
ResourceException - always.ResourceAdapter.endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)
public void endpointDeactivation(MessageEndpointFactory arg0,
ActivationSpec arg1)
endpointDeactivation in interface ResourceAdapterarg0 - not used.arg1 - not used.ResourceAdapter.endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)
public XAResource[] getXAResources(ActivationSpec[] arg0)
throws ResourceException
getXAResources in interface ResourceAdapterarg0 - not used.
ResourceException - .ResourceAdapter.getXAResources(javax.resource.spi.ActivationSpec[])public String getServerHost()
getClientConfiguration() instead.
public void setServerHost(String serverHost)
setClientConfiguration(String) instead.
serverHost - the host as a string.public Integer getClassServerPort()
getClientConfiguration() instead.
public void setClassServerPort(Integer classServerPort)
setClientConfiguration(String) instead.
classServerPort - the port number as an int.public Integer getAppServerPort()
getClientConfiguration() instead.
public void setAppServerPort(Integer appServerPort)
setClientConfiguration(String) instead.
appServerPort - the port number as an int.public Integer getConnectionPoolSize()
getClientConfiguration() instead.
public void setConnectionPoolSize(Integer connectionPoolSize)
setClientConfiguration(String) instead.
connectionPoolSize - the number of connections as an int.public String getClientConfiguration()
public void setClientConfiguration(String clientConfiguration)
clientConfiguration - the configuration as a stirng.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||