|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tivoli.pd.jadmin.PDAdmin
Utility class used to perform initialization and shutdown operations needed by the Policy Director Admin API component classes.
Method Summary | |
static java.lang.String |
getProgramName()
Return the program name used to initialize this component. |
static void |
initialize(java.lang.String progName,
PDMessages messages)
Perform initialization needed by the Policy Director Admin API classes. |
static boolean |
isInited()
Indicates whether this component has been initialized or not. |
static void |
shutdown(PDMessages messages)
Perform shutdown needed by the Policy Director Admin API classes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void initialize(java.lang.String progName, PDMessages messages) throws PDException
Every call to this method must be coupled with a call to
shutdown
so that the necessary cleanup can take place.
This method requires the
javax.security.auth.AuthPermission("PDAdmin")
permission.
progName
- the program name that will appear in trace and message
logs for the Policy Director Admin API classes.messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.PDException
- if the component cannot be initialized properly.
In exception cases, the component is not initialized and the reference
count is not incremented; therefore shutdown should not be called.
This exception may contain error and message codes defined in the
product Error Message Reference document.public static void shutdown(PDMessages messages) throws PDException
This method requires the
javax.security.auth.AuthPermission("PDAdmin")
permission.
messages
- in/out parameter;
empty PDMessages on input;
may contain zero or more informational or warning
messages on output.PDException
- if the component cannot be shutdown properly.
This exception may contain error and message codes defined in the
product Error Message Reference document.public static boolean isInited()
initialize
method may be called multiple times,
but only the first invocation will actually cause intialization
operations to take place.
shutdown
so that the necessary cleanup can take place.
public static java.lang.String getProgramName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |