public class JNDIActivationSpec
extends java.lang.Object
implements javax.resource.spi.ActivationSpec
Constructor and Description |
---|
JNDIActivationSpec()
Zero arg constructor ONLY for use as a java bean containing three fields
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActSpecJndiName()
Gets the JNDI name of the activation spec to use.
|
java.lang.String |
getApplicationEndpointID()
gets the application endpoint name.
|
java.lang.String |
getDestinationJndiName()
Get the overridden jndi name of the destination
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
This method is part of the activation spec inteface and is not expected
to be called by the user
|
void |
setActSpecJndiName(java.lang.String actSpecJndiName)
Sets the JNDI name of the activation spec to use
|
void |
setApplicationEndpointID(java.lang.String applicationEndpointID)
This method sets the required application endpoint ID property.
|
void |
setDestinationJndiName(java.lang.String destJndiName)
Optional: Sets the JNDI name of the destination to use.
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
This method is part of the activation spec inteface and is not expected
to be called by the user
|
java.lang.String |
toString()
This to string method will print out the property values along with the
objects memory address
|
void |
validate()
This method is called by the WAS framework to validate the activation
spec, this will check this object activation spec and NOT the activation
spec specified by the actSpecJndiName property.
|
public JNDIActivationSpec()
public java.lang.String getActSpecJndiName()
public void setActSpecJndiName(java.lang.String actSpecJndiName)
actSpecJndiName
- the _jmsActSpecJndiName to setpublic java.lang.String getDestinationJndiName()
public void setDestinationJndiName(java.lang.String destJndiName)
destJndiName
- the _jmsDestJndiName to setpublic java.lang.String getApplicationEndpointID()
public void setApplicationEndpointID(java.lang.String applicationEndpointID)
applicationEndpointID
- public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
public java.lang.String toString()
toString
in class java.lang.Object
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
javax.resource.ResourceException