Public Member Functions | |
| ActivationSpecImpl () | |
| void | validate () throws InvalidPropertyException |
| void | setResourceAdapter (ResourceAdapter ra) throws ResourceException |
| ResourceAdapter | getResourceAdapter () |
| void | setDestinationType (String destinationType) |
| void | setDestination (String destination) |
| void | setUserName (String userName) |
| void | setPassword (String password) |
| void | setMessageSelector (String messageSelector) |
| void | setSubscriptionDurability (String subscriptionDurability) |
| void | setSubscriptionName (String subscriptionName) |
| void | setAcknowledgeMode (String acknowledgeMode) |
| void | setMaxNumberOfWorks (String maxNumberOfWorks) |
| void | setMaxMessages (String maxMessages) |
| String | getDestinationType () |
| String | getDestination () |
| String | getUserName () |
| String | getPassword () |
| String | getMessageSelector () |
| String | getSubscriptionDurability () |
| String | getSubscriptionName () |
| String | getAcknowledgeMode () |
| String | getMaxNumberOfWorks () |
| String | getMaxMessages () |
Static Public Attributes | |
| static final String | AUTO_ACKNOWLEDGE = "Auto-acknowledge" |
| static final String | DUPS_OK_ACKNOWLEDGE = "Dups-ok-acknowledge" |
ActivationSpecImpl instance holds configuration information related to an endpoint deployment.
Definition at line 36 of file ActivationSpecImpl.java.
| org.objectweb.joram.client.connector.ActivationSpecImpl.ActivationSpecImpl | ( | ) |
Constructs an ActivationSpecImpl instance.
Definition at line 95 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.validate | ( | ) | throws InvalidPropertyException |
Checks if the configuration information is valid.
| InvalidPropertyException | If a parameter is missing, incorrect, or not consistent with other parameters. |
Definition at line 106 of file ActivationSpecImpl.java.
References org.objectweb.joram.client.connector.ActivationSpecImpl.AUTO_ACKNOWLEDGE, and org.objectweb.joram.client.connector.ActivationSpecImpl.DUPS_OK_ACKNOWLEDGE.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setResourceAdapter | ( | ResourceAdapter | ra | ) | throws ResourceException |
Sets the resource adapter central authority.
Definition at line 138 of file ActivationSpecImpl.java.
| ResourceAdapter org.objectweb.joram.client.connector.ActivationSpecImpl.getResourceAdapter | ( | ) |
Returns the resource adapter central authority instance.
Definition at line 156 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation(), and org.objectweb.joram.client.connector.JoramAdapter.getXAResources().
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setDestinationType | ( | String | destinationType | ) |
Sets the destination type (either "javax.jms.Queue" or "javax.jms.Topic").
Definition at line 172 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setDestination | ( | String | destination | ) |
Sets the destination name.
Definition at line 178 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setUserName | ( | String | userName | ) |
Sets the user identification.
Definition at line 184 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setPassword | ( | String | password | ) |
Sets the user password.
Definition at line 190 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setMessageSelector | ( | String | messageSelector | ) |
Sets the message selector.
Definition at line 196 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setSubscriptionDurability | ( | String | subscriptionDurability | ) |
Sets the durability of the subscription.
Definition at line 202 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setSubscriptionName | ( | String | subscriptionName | ) |
Sets the name of the durable subscription.
Definition at line 208 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setAcknowledgeMode | ( | String | acknowledgeMode | ) |
Sets the acknowledgement mode.
Definition at line 214 of file ActivationSpecImpl.java.
| void org.objectweb.joram.client.connector.ActivationSpecImpl.setMaxNumberOfWorks | ( | String | maxNumberOfWorks | ) |
Sets the maximum number of work instances to be submitted.
Definition at line 220 of file ActivationSpecImpl.java.
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getDestinationType | ( | ) |
Returns the destination type.
Definition at line 230 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getDestination | ( | ) |
Returns the destination name.
Definition at line 236 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getUserName | ( | ) |
Returns the user identification.
Definition at line 242 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation(), and org.objectweb.joram.client.connector.JoramAdapter.getXAResources().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getPassword | ( | ) |
Returns the user password.
Definition at line 248 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation(), and org.objectweb.joram.client.connector.JoramAdapter.getXAResources().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getMessageSelector | ( | ) |
Returns the message selector.
Definition at line 254 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getSubscriptionDurability | ( | ) |
Returns the subscription durabbility.
Definition at line 260 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getSubscriptionName | ( | ) |
Returns the name of the durable subscription.
Definition at line 266 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getAcknowledgeMode | ( | ) |
Returns the acknowledgement mode.
Definition at line 272 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
| String org.objectweb.joram.client.connector.ActivationSpecImpl.getMaxNumberOfWorks | ( | ) |
Returns the maximum number of work instances to be submitted.
Definition at line 278 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.JoramAdapter.endpointActivation().
final String org.objectweb.joram.client.connector.ActivationSpecImpl.AUTO_ACKNOWLEDGE = "Auto-acknowledge" [static] |
Value for the property acknowledgeMode defined in the MDB deployment descriptor.
Definition at line 50 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.ActivationSpecImpl.validate().
final String org.objectweb.joram.client.connector.ActivationSpecImpl.DUPS_OK_ACKNOWLEDGE = "Dups-ok-acknowledge" [static] |
Value for the property acknowledgeMode defined in the MDB deployment descriptor.
Definition at line 56 of file ActivationSpecImpl.java.
Referenced by org.objectweb.joram.client.connector.ActivationSpecImpl.validate().
1.5.0