org.jacorb.poa
Class POAMonitorImpl
java.lang.Object
org.jacorb.poa.POAAdapter
org.jacorb.poa.POAMonitorImpl
- All Implemented Interfaces:
- AOMListener, org.apache.avalon.framework.configuration.Configurable, EventListener, POAListener, POAMonitor, POAMonitorController, RequestQueueListener, RPPoolManagerListener
- public class POAMonitorImpl
- extends POAAdapter
- implements POAMonitor, POAMonitorController, org.apache.avalon.framework.configuration.Configurable
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
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 |
configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
|
void |
init(POA poa,
AOM aom,
RequestQueue queue,
RPPoolManager pm,
java.lang.String _prefix)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POAMonitorImpl
public POAMonitorImpl()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration myConfiguration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
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)
- 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