issrg.pba.management.agent
Class PAgent

java.lang.Object
  extended by issrg.pba.management.agent.PAgent

public class PAgent
extends java.lang.Object

PERMIS Agent. This is a JMX Agent, it creates a single connector-server and MBean server which contains the Managed Engine (the only MBean).

Version:
0.3.2008.03.20, 0.5.2008.06.11
Author:
mfb4@kent.ac.uk

Constructor Summary
PAgent(ManagedPermisRBAC engineParam, PAConfiguration configurationParam)
          the constructor.
 
Method Summary
protected  void finalize()
          clean up by closing this JMX agent down.
 void stop()
          stop.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAgent

public PAgent(ManagedPermisRBAC engineParam,
              PAConfiguration configurationParam)
       throws PbaException
the constructor. this agent instance should be created form from with in a managed PERMIS engine. it sets the server up to listen for connections from connector-clients belonging to PERMIS managers.

Parameters:
engineParam - the managed PERMIS engine
configurationParam - configuration for the connector-server
Throws:
PbaException - if anything goes wrong in the setting up.
Since:
0.3.2008.03.20
Method Detail

stop

public void stop()
stop. this JMX agent, stop the server and release the MBeanServer


finalize

protected void finalize()
clean up by closing this JMX agent down.

Overrides:
finalize in class java.lang.Object
Since:
0.3.2008.03.21