Class ProfileSubsystem

All Implemented Interfaces:
ISubsystem, ImageObserver, MenuContainer, Serializable, Runnable, Accessible

public class ProfileSubsystem extends Frame implements ISubsystem, Runnable
A class represents a internal subsystem. This subsystem can be loaded into cert server kernel to perform run time system profiling.

Version:
$Revision$, $Date$
Author:
thomask
See Also:
  • Constructor Details

    • ProfileSubsystem

      public ProfileSubsystem()
      Constructs a certificate server.
  • Method Details

    • getId

      public String getId()
      Retrieves subsystem identifier.
      Specified by:
      getId in interface ISubsystem
      Returns:
      subsystem identifier
    • setId

      public void setId(String id) throws EBaseException
      Description copied from interface: ISubsystem
      Sets specific to this subsystem.
      Specified by:
      setId in interface ISubsystem
      Parameters:
      id - subsystem identifier
      Throws:
      EBaseException - failed to set id
    • init

      public void init(ConfigStore config) throws EBaseException
      Initializes this subsystem with the given configuration store. It first initializes resident subsystems, and it loads and initializes loadable subsystem specified in the configuration store.

      Note that individual subsystem should be initialized in a separated thread if it has dependency on the initialization of other subsystems.

      Specified by:
      init in interface ISubsystem
      Parameters:
      config - configuration store
      Throws:
      EBaseException
    • startup

      public void startup() throws EBaseException
      Description copied from interface: ISubsystem
      Notifies this subsystem if owner is in running mode.
      Specified by:
      startup in interface ISubsystem
      Throws:
      EBaseException - failed to start up
    • shutdown

      public void shutdown()
      Stops this system.
      Specified by:
      shutdown in interface ISubsystem
    • getConfigStore

      public ConfigStore getConfigStore()
      Description copied from interface: ISubsystem
      Returns the root configuration storage of this system.

      Specified by:
      getConfigStore in interface ISubsystem
      Returns:
      configuration store of this subsystem
    • updateGeneralPanel

      public void updateGeneralPanel()
    • updateThreadPanel

      public void updateThreadPanel()
    • run

      public void run()
      Specified by:
      run in interface Runnable