Monitor.Omr
Class Inicio

java.lang.Object
  |
  +--Monitor.Omr.Inicio
Direct Known Subclasses:
Cpu, Memory

public class Inicio
extends java.lang.Object

Perform actions common to any RMO object initialization process. This class encapsulates the code that is common to any RMO object when performing its initialization, such as obtaining reference to ORB and registrating itself with the name service.


Field Summary
protected static MonitoredEntities.EntityRepository et_r
           
protected static MonitoredEntities.Entity me
           
protected static org.omg.CORBA.ORB orb
           
protected static MonitoredEntities.Parameter par
           
protected static EventEvaluator.Resource.ResourceManager rManager
           
protected static org.omg.PortableServer.POA rootpoa
           
 
Constructor Summary
Inicio()
           
 
Method Summary
static void inicializa(java.lang.String[] args)
          Obtains reference to ORB, name service, entity and parameter beein monitored and resource event evaluator.
static void registra_omr(java.lang.String[] args, org.omg.CORBA.Object o)
          Register this RMO with CORBA name service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orb

protected static org.omg.CORBA.ORB orb

rootpoa

protected static org.omg.PortableServer.POA rootpoa

et_r

protected static MonitoredEntities.EntityRepository et_r

me

protected static MonitoredEntities.Entity me

par

protected static MonitoredEntities.Parameter par

rManager

protected static EventEvaluator.Resource.ResourceManager rManager
Constructor Detail

Inicio

public Inicio()
Method Detail

inicializa

public static void inicializa(java.lang.String[] args)
Obtains reference to ORB, name service, entity and parameter beein monitored and resource event evaluator.
Parameters:
args[0] - the identification of the entity beein monitored
args[1] - the identification of the parameter beeing monitored

registra_omr

public static void registra_omr(java.lang.String[] args,
                                org.omg.CORBA.Object o)
Register this RMO with CORBA name service.
Parameters:
args[0] - the identification of the entity beein monitored
args[1] - the identification of the parameter beeing monitored
o - reference to ORB