com.BobCo.associations
Class DomainWorkgroupAssociationExtension

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGObject
      extended bycom.tivoli.twg.engine.TWGExtension
          extended bycom.BobCo.associations.DomainWorkgroupAssociationExtension
All Implemented Interfaces:
com.tivoli.twg.engine.TWGBaseShadowedObject, com.tivoli.twg.engine.TWGShadowedObject

public class DomainWorkgroupAssociationExtension
extends com.tivoli.twg.engine.TWGExtension

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.

See Also:
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

DomainWorkgroupAssociationExtension

public DomainWorkgroupAssociationExtension()
Default constructor : usually does nothing, but can access properties loaded from our property file.

Method Detail

InitClassRegistration

public void InitClassRegistration()
                           throws com.tivoli.twg.engine.TWGExtensionInitException
First initialization method, intended to allow extensions to register classes. No persistent object instances (subclasses of TWGPersistentObject) should be create nor be expected to exist during this phase of initialization. All new subclasses must be registered during this phase.

Throws:
TWGExtensionInitException - if a fatal error occurs during the initialization method
com.tivoli.twg.engine.TWGExtensionInitException

InitClassInstances

public void InitClassInstances()
                        throws com.tivoli.twg.engine.TWGExtensionInitException
Second initialization method, intended to allow extension to create default instances of classes registered during 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().

Throws:
TWGExtensionInitException - if a fatal error occurs during the initialization method
com.tivoli.twg.engine.TWGExtensionInitException

InitCompletion

public void InitCompletion()
                    throws com.tivoli.twg.engine.TWGExtensionInitException
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.

Throws:
TWGExtensionInitException - if a fatal error occurs during the initialization method
com.tivoli.twg.engine.TWGExtensionInitException

TermBegin

public void TermBegin()
               throws com.tivoli.twg.engine.TWGExtensionTermException
First termination method, intended to allow an extension to begin the process of termination. The only termination processing which should occur here is that which needs to be done before other extensions have executed TermCompletion() pass.

Throws:
com.tivoli.twg.engine.TWGExtensionTermException - if an error occurs during the termination method

TermComplete

public void TermComplete()
                  throws com.tivoli.twg.engine.TWGExtensionTermException
Final termination method, intended to allow an extension to terminate any processing which may still be active.

Throws:
com.tivoli.twg.engine.TWGExtensionTermException - if an error occurs during the termination method