Resource Management Commands - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Resource Management Commands

The resource commands allow you to manage the various resources used in your application.
TABLE C–7
Command
create-jdbc-connection-pool
delete-jdbc-connection-pool
list-jdbc-connection-pools
create-jdbc-resource
delete-jdbc-resource
list-jdbc-resources
create-jms-resource
delete-jms-resource
list-jms-resources
create-jndi-resource
delete-jndi-resource
list-jndi-resources
list-jndi-entries
create-javamail-resource
delete-javamail-resource
list-javamail-resources
create-persistence-resource
delete-persistence-resource
list-persistence-resources
create-custom-resource
Appendix C • The asadmin Utility

Resource Management Commands

Definition
Registers a new JDBC connection pool with the specified JDBC
connection pool name.
Deletes a JDBC connection pool. The operand identifies the JDBC
connection pool to be deleted.
Gets the JDBC connection pools that have been created.
Creates a new JDBC resource.
Removes a JDBC resource with the specified JNDI name.
Displays a list of JDBC resources that have been created.
Creates a Java Message Service (JMS) connection factory resource or
a JMS destination resource.
Removes the specified JMS resource.
Lists the existing JMS resources (destination and connection factory
resources).
Registers a JNDI resource.
Removes the JNDI resource with the specified JNDI name.
Identifies all the existing JNDI resources.
Browses and queries the JNDI tree.
Creates a JavaMail session resource.
Removes the specified JavaMail session resource.
Lists the existing JavaMail session resources.
Registers a persistence resource.
Removes a persistence resource. When you delete a persistence
resource, the command also removes the JDBC resource if it was
created using the create-persistence-resource command.
Displays all the persistence resources.
Creates a custom resource. A custom resource specifies a custom
server-wide resource object factory that implements the
javax.naming.spi.ObjectFactory interface.
Resource Management Commands
241

Advertisement

Table of Contents
loading

Table of Contents