org.jacorb.poa
Class POAMonitorImpl

java.lang.Object
  extended byorg.jacorb.poa.POAAdapter
      extended byorg.jacorb.poa.POAMonitorImpl
All Implemented Interfaces:
AOMListener, EventListener, POAListener, POAMonitor, POAMonitorController, RequestQueueListener, RPPoolManagerListener

public class POAMonitorImpl
extends POAAdapter
implements POAMonitor, POAMonitorController

This class extends the POA with a monitoring gui. It implements all poa related listener interfaces and will set up and update the gui.

Version:
1.06, 12/08/99, RT
Author:
Reimo Tiedemann, FU Berlin

Constructor Summary
POAMonitorImpl()
           
 
Method Summary
 void actionCloseView()
           
 void actionDeactivateObject(java.lang.String oidStr)
           
 void actionRemoveRequestFromQueue(java.lang.String ridStr)
           
 StringPair[] actionRetrieveAOMContent()
           
 StringPair[] actionRetrieveQueueContent()
           
 void changeState(java.lang.String state)
           
 void closeMonitor()
           
 void init(POA poa, AOM aom, RequestQueue queue, RPPoolManager pm, java.lang.String _prefix, org.apache.avalon.framework.logger.Logger _logger)
           
 void objectActivated(byte[] oid, Servant servant, int aom_size)
           
 void objectDeactivated(byte[] oid, Servant servant, int aom_size)
           
 void openMonitor()
           
 void processorAddedToPool(RequestProcessor processor, int pool_count, int pool_size)
           
 void processorRemovedFromPool(RequestProcessor processor, int pool_count, int pool_size)
           
 void requestAddedToQueue(ServerRequest request, int queue_size)
           
 void requestRemovedFromQueue(ServerRequest request, int queue_size)
           
 
Methods inherited from class org.jacorb.poa.POAAdapter
poaCreated, poaStateChanged, referenceCreated, servantEtherialized, servantIncarnated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POAMonitorImpl

public POAMonitorImpl()
Method Detail

actionCloseView

public void actionCloseView()
Specified by:
actionCloseView in interface POAMonitorController

actionDeactivateObject

public void actionDeactivateObject(java.lang.String oidStr)
Specified by:
actionDeactivateObject in interface POAMonitorController

actionRemoveRequestFromQueue

public void actionRemoveRequestFromQueue(java.lang.String ridStr)
Specified by:
actionRemoveRequestFromQueue in interface POAMonitorController

actionRetrieveAOMContent

public StringPair[] actionRetrieveAOMContent()
Specified by:
actionRetrieveAOMContent in interface POAMonitorController

actionRetrieveQueueContent

public StringPair[] actionRetrieveQueueContent()
Specified by:
actionRetrieveQueueContent in interface POAMonitorController

changeState

public void changeState(java.lang.String state)
Specified by:
changeState in interface POAMonitor

closeMonitor

public void closeMonitor()
Specified by:
closeMonitor in interface POAMonitor

init

public void init(POA poa,
                 AOM aom,
                 RequestQueue queue,
                 RPPoolManager pm,
                 java.lang.String _prefix,
                 org.apache.avalon.framework.logger.Logger _logger)
Specified by:
init in interface POAMonitor

objectActivated

public void objectActivated(byte[] oid,
                            Servant servant,
                            int aom_size)
Specified by:
objectActivated in interface AOMListener
Overrides:
objectActivated in class POAAdapter

objectDeactivated

public void objectDeactivated(byte[] oid,
                              Servant servant,
                              int aom_size)
Specified by:
objectDeactivated in interface AOMListener
Overrides:
objectDeactivated in class POAAdapter

openMonitor

public void openMonitor()
Specified by:
openMonitor in interface POAMonitor

processorAddedToPool

public void processorAddedToPool(RequestProcessor processor,
                                 int pool_count,
                                 int pool_size)
Specified by:
processorAddedToPool in interface RPPoolManagerListener
Overrides:
processorAddedToPool in class POAAdapter

processorRemovedFromPool

public void processorRemovedFromPool(RequestProcessor processor,
                                     int pool_count,
                                     int pool_size)
Specified by:
processorRemovedFromPool in interface RPPoolManagerListener
Overrides:
processorRemovedFromPool in class POAAdapter

requestAddedToQueue

public void requestAddedToQueue(ServerRequest request,
                                int queue_size)
Specified by:
requestAddedToQueue in interface RequestQueueListener
Overrides:
requestAddedToQueue in class POAAdapter

requestRemovedFromQueue

public void requestRemovedFromQueue(ServerRequest request,
                                    int queue_size)
Specified by:
requestRemovedFromQueue in interface RequestQueueListener
Overrides:
requestRemovedFromQueue in class POAAdapter