Lifetime Setting | Description |
Global | The webMethods Microsoft Package creates a single instance of the class, or object, which has an unlimited lifetime. The class shares instance data among all sessions. Use this setting where it is appropriate to gather data to be retrieved by multiple users. You can create only one instance of a global object of a given type. |
Session | The webMethods Microsoft Package creates a separate object for each user. The object exists until the user session is closed or until the object times out. The default is three minutes. See
The Class Timeout Value. |
Single-Use | The webMethods Microsoft Package creates and destroys an object each time a .NET service calls a method in the class. Data may be kept during the lifetime of the object. |
Static | The .NET service calls a method that does not require any session data to be kept. All methods of the class are static and the webMethods Microsoft Package does not create an object. |