Resource Management Commands
The resource commands allow you to manage the various resources used in your application.
TABLE C–7
Resource Management Commands
Command
Definition
create-jdbc-connection-pool
Registers a new JDBC connection pool with the specified JDBC
connection pool name.
delete-jdbc-connection-pool
Deletes a JDBC connection pool. The operand identifies the JDBC
connection pool to be deleted.
list-jdbc-connection-pools
Gets the JDBC connection pools that have been created.
create-jdbc-resource
Creates a new JDBC resource.
delete-jdbc-resource
Removes a JDBC resource with the specified JNDI name.
list-jdbc-resources
Displays a list of JDBC resources that have been created.
create-jms-resource
Creates a Java Message Service (JMS) connection factory resource or
a JMS destination resource.
delete-jms-resource
Removes the specified JMS resource.
list-jms-resources
Lists the existing JMS resources (destination and connection factory
resources).
create-jndi-resource
Registers a JNDI resource.
delete-jndi-resource
Removes the JNDI resource with the specified JNDI name.
list-jndi-resources
Identifies all the existing JNDI resources.
list-jndi-entries
Browses and queries the JNDI tree.
create-javamail-resource
Creates a JavaMail session resource.
delete-javamail-resource
Removes the specified JavaMail session resource.
list-javamail-resources
Lists the existing JavaMail session resources.
create-persistence-resource
Registers a persistence resource.
delete-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.
list-persistence-resources
Displays all the persistence resources.
create-custom-resource
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
Appendix C • The
asadmin
Utility
241
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...