|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGObject
com.tivoli.twg.engine.TWGExtension
com.BobCo.associations.DomainWorkgroupAssociationExtension
Extension registration class for DomainWorkgroupAssociation
sample class. Extension class is registered with the
DomainWorkgroupAssociation.TWGExt
file. If needed, the
DomainWorkgroupAssociation.TWGExt
can be modified to include
additional properties particular to the extension. These properties
will be loaded with the extension, and are available using
the TWGExtension.getPropertySet()
method.
TWGExtension
Field Summary |
---|
Fields inherited from class com.tivoli.twg.engine.TWGExtension |
---|
EXTENSION_CLASS, EXTENSION_CLI_CLASS, EXTENSION_DELAY_CLASS_INIT, EXTENSION_DISABLED, EXTENSION_NAME, EXTENSION_NLS_CLASS, EXTENSION_VENDOR, EXTENSION_VERSION, PREVIOUS_SERVER_VERSION_NEW_SERVER |
Constructor Summary | |
---|---|
DomainWorkgroupAssociationExtension()
Default constructor : usually does nothing, but can access properties loaded from our property file. |
Method Summary | |
---|---|
void |
InitClassInstances()
Second initialization method, intended to allow extension to create default instances of classes registered during InitClassRegistration() . |
void |
InitClassRegistration()
First initialization method, intended to allow extensions to register classes. |
void |
InitCompletion()
Final initialization method, intended to allow an extension to do any actions which may have required the other extensions to have completed the previous passes of initialization. |
void |
TermBegin()
First termination method, intended to allow an extension to begin the process of termination. |
void |
TermComplete()
Final termination method, intended to allow an extension to terminate any processing which may still be active. |
Methods inherited from class com.tivoli.twg.engine.TWGExtension |
---|
DoInitClassInstances, DoInitClassRegistration, DoInitCompletion, DoStartupCompletion, DoTermBegin, DoTermComplete, ExtensionName, getActiveExtensionName, GetConShadowClass, getCurrentStartupVersion, getLastStartupVersion, getNLSstring, getProperty, getPropertySet, GetRegisteredClass, GetRegisteredClasses, GetShadowRecord, GetShadowVersion, InitClassInstances, InitClassRegistration, InitCompletion, isClassInitDelayed, isDisabled, isExtensionClassDefined, isNewInstallOrConfig, isRegistered, IsRegisteredClass, isUpdatedServerBuildOrVersion, isUpdatedServerVersion, LoadCommandBundles, RegisterClass, SetObjectID, setProperty, StartupCompletion, StartupCompletion, TermBegin, TermComplete, UpdateShadowVersion, VendorName, VersionName |
Methods inherited from class com.tivoli.twg.engine.TWGObject |
---|
AllObjects, AllObjects, Delete, Destroy, DumpTWGObjects, FindObject, isDeleted, isNewObject, isPersistent, isPersistent, isValid, isValid, ObjectID, setDistinctObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DomainWorkgroupAssociationExtension()
Method Detail |
public void InitClassRegistration() throws com.tivoli.twg.engine.TWGExtensionInitException
TWGPersistentObject
) should be create nor be expected
to exist during this phase of initialization. All new subclasses
must be registered during this phase.
TWGExtensionInitException
- if a fatal error
occurs during the initialization method
com.tivoli.twg.engine.TWGExtensionInitException
public void InitClassInstances() throws com.tivoli.twg.engine.TWGExtensionInitException
InitClassRegistration()
. All TWGPersistentObject
instances which previously existed have been restored before this
phase was started. To prevent problems with the order of initialization
of class instances created by different extensions during this phase,
implementations of this method should avoid attempting to access
objects which would be initialized by other extensions. References
to objects created by other extensions should wait until
InitCompletion()
.
TWGExtensionInitException
- if a fatal error
occurs during the initialization method
com.tivoli.twg.engine.TWGExtensionInitException
public void InitCompletion() throws com.tivoli.twg.engine.TWGExtensionInitException
TWGExtensionInitException
- if a fatal error occurs during
the initialization method
com.tivoli.twg.engine.TWGExtensionInitException
public void TermBegin() throws com.tivoli.twg.engine.TWGExtensionTermException
com.tivoli.twg.engine.TWGExtensionTermException
- if an error occurs during the
termination methodpublic void TermComplete() throws com.tivoli.twg.engine.TWGExtensionTermException
com.tivoli.twg.engine.TWGExtensionTermException
- if an error occurs during the
termination method
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |