com.tivoli.twg.engine
Class TWGBaseExtension

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGObject
      extended bycom.tivoli.twg.engine.TWGExtension
          extended bycom.tivoli.twg.engine.TWGBaseExtension
All Implemented Interfaces:
TWGBaseShadowedObject, TWGShadowedObject

public class TWGBaseExtension
extends TWGExtension

Base extension package for native client support Properties defined in BaseExt.TWGExt property file.


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
TWGBaseExtension()
          Default constructor
 
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.
static TWGDatabaseQuery ReturnDefaultQuery(TWGDatabaseTable Table, boolean insertMoName)
          Build default queries
 void StartupCompletion()
          Startup complete method, intended to allow an extension to do any actions which required the completion of server startup (including automatic startup of other tasks, etc).
 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, 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

TWGBaseExtension

public TWGBaseExtension()
Default constructor

Method Detail

InitClassRegistration

public void InitClassRegistration()
                           throws TWGExtensionInitException
First initialization method, intended to allow extensions to register classes.

Overrides:
InitClassRegistration in class TWGExtension
Throws:
TWGExtensionInitException - if a fatal error occurs during the initialization method

InitClassInstances

public void InitClassInstances()
                        throws TWGExtensionInitException
Second initialization method, intended to allow extension to create default instances of classes registered during InitClassRegistration().

Overrides:
InitClassInstances in class TWGExtension
Throws:
TWGExtensionInitException - if a fatal error occurs during the initialization method

InitCompletion

public void InitCompletion()
                    throws 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.

Overrides:
InitCompletion in class TWGExtension
Throws:
TWGExtensionInitException - if a fatal error occurs during the initialization method

StartupCompletion

public void StartupCompletion()
Startup complete method, intended to allow an extension to do any actions which required the completion of server startup (including automatic startup of other tasks, etc). The default method does nothing. Method is only called for active extensions.

Overrides:
StartupCompletion in class TWGExtension

TermBegin

public void TermBegin()
               throws 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.

Overrides:
TermBegin in class TWGExtension
Throws:
TWGExtensionTermException - if an error occurs during the termination method

TermComplete

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

Overrides:
TermComplete in class TWGExtension
Throws:
TWGExtensionTermException - if an error occurs during the termination method

ReturnDefaultQuery

public static TWGDatabaseQuery ReturnDefaultQuery(TWGDatabaseTable Table,
                                                  boolean insertMoName)
Build default queries

Parameters:
Table - - database table to be generated
insertMoName - - include managed object name in query