|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T3ShutdownDef defines the interface for user-written shutdown objects.
A class that implements this interface and is registered in WebLogic's weblogic.properties file will be automatically executed when the WebLogic Server shuts down, and its shutdown method will be called. For more information on registering a shutdown class, check the Administrators Guide document, Setting WebLogic properties, in the WebLogic Server documentation.
Any class that implements this interface must have a public default constructor. For example, class "foo" must have a constructor like:
public foo() { }
Method Summary | |
void |
setServices(T3ServicesDef services)
Sets the services object. |
java.lang.String |
shutdown(java.lang.String name,
java.util.Hashtable ht)
The shutdown method is called by the WebLogic Server when your object is launched. |
Method Detail |
public void setServices(T3ServicesDef services)
services
- Access to services in WebLogicpublic java.lang.String shutdown(java.lang.String name, java.util.Hashtable ht) throws java.lang.Exception
name
- Virtual name by which the class is registered
as a shutdownClass in the weblogic.properties
fileht
- A Hashtable that is made up of the name-value
pairs supplied from the shutdownArgs property
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |