Mechanism to manage the lifecycle of a resource adapter
First Claim
1. A method for managing a lifecycle of a resource adapter by an application server, comprising:
- configuring the resource adapter;
deploying the configured resource adapter, including instantiating a resource adapter instance in an associated memory space of the application server and exposing a set of application server facilities to the instantiated resource adapter instance;
bootstrapping the configured resource adapter by the application server; and
notifying the bootstrapped configured resource adapter to shutdown by the application server.
2 Assignments
0 Petitions
Accused Products
Abstract
Providing a contract between an application server and a resource adapter that allows the application server to manage the lifecycle of the resource adapter. When deploying a resource adapter (or during application server startup), an application server bootstraps a resource adapter instance in an appropriate address space. When a resource adapter is undeployed (or during application server shutdown), the application server notifies the resource adapter instance to stop functioning in order to allow safe unloading. The contract provides a mechanism for an application server to manage the lifecycle of a resource adapter instance, allowing an application server to bootstrap a resource adapter instance during resource adapter deployment or application server startup and to expose some of its useful facilities to the resource adapter instance. It also provides a mechanism to notify the resource adapter instance while it is undeployed or during an orderly shutdown of the application server.
-
Citations
15 Claims
-
1. A method for managing a lifecycle of a resource adapter by an application server, comprising:
-
configuring the resource adapter; deploying the configured resource adapter, including instantiating a resource adapter instance in an associated memory space of the application server and exposing a set of application server facilities to the instantiated resource adapter instance; bootstrapping the configured resource adapter by the application server; and notifying the bootstrapped configured resource adapter to shutdown by the application server. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for managing a lifecycle of a resource adapter by an application server, comprising:
-
a processor; and a memory storing computer instructions for; configuring the resource adapter; deploying the configured resource adapter, including instantiating a resource adapter instance in an associated memory space of the application server and exposing a set of application server facilities to the instantiated resource adapter instance; bootstrapping the configured resource adapter by the application server; and notifying the bootstrapped configured resource adapter to shutdown by the application server. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product, stored on a computer-readable storage medium, for managing a lifecycle of a resource adapter, comprising instructions operable to cause a computer to:
-
configure the resource adapter; deploy the configured resource adapter, including instantiating a resource adapter instance in an associated memory space of the application server and exposing a set of application server facilities to the instantiated resource adapter instance; bootstrap the configured resource adapter by the application server; and notify the bootstrapped configured resource adapter to shutdown by the application server. - View Dependent Claims (12, 13, 14, 15)
-
Specification