com.BobCo.cli
Class CliSampleExtension

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

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

Director command line interface SDK extension class

This class contains *NO* functionality and is used solely as an extension place holder. A class (even if functionless) is needed for the CLI bundle as named in the TWGExt file to be registered at Director system startup.


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
CliSampleExtension()
          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.
 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

CliSampleExtension

public CliSampleExtension()
Default constructor

Method Detail

InitClassRegistration

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

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

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().

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

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:
com.tivoli.twg.engine.TWGExtensionInitException - if a fatal error occurs during the initialization method

TermBegin

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


TermComplete

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