|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--ponderEnforcement.ponderMC.PonderMCimpl
Function: The Ponder Management Component Implementation
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
PonderMCimpl(java.lang.String newRmiName)
Constructor called when started as syandalone |
|
PonderMCimpl(java.lang.String newRmiName,
PMCServer newPmcServer)
Constructor called when started by a PMCServer |
|
| Method Summary | |
void |
disableOblig(java.lang.String policyName)
disable an obligation policy object |
void |
disableRefrain(java.lang.String policyName)
disable a refrain policy object |
void |
enableOblig(java.lang.String policyName)
enable an obligation policy object |
void |
enableRefrain(java.lang.String policyName)
enable a refrain policy object |
boolean |
execAction(java.lang.String name,
java.util.LinkedList params)
Execute a local (loaded) Action |
java.lang.String |
getID()
Returns the Unique Id of the PMC. |
java.util.Vector |
getObligsInfo()
Returns information about the obligation policies loaded in the PMC |
java.util.Vector |
getRefrainsInfo()
Returns information about the refrain policies loaded in the PMC |
boolean |
isActive()
A test method to return true or false depending on the status of this component |
void |
load(java.lang.String policyName,
ObligationI obligation)
load an obligation policy object |
void |
load(java.lang.String policyName,
RefrainI refrain)
load a refrain policy object |
void |
loadAction(PmcAction action)
Loads a new PmcAction object in the PMC |
static void |
main(java.lang.String[] args)
Name: main. |
void |
setDirName(java.lang.String newDirName)
Set the directory location where the PMC is bound. |
void |
stopMC()
Stop the execution of the management component. |
void |
unloadOblig(java.lang.String policyName)
unload an obligation policy object |
void |
unloadRefrain(java.lang.String policyName)
unload a refrain policy object |
void |
writeClass(java.lang.String className,
byte[] classBytes)
write Class locally SHOULD NOT BE USED EVENTUALLY |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PonderMCimpl(java.lang.String newRmiName)
throws java.rmi.RemoteException
newRmiName - The name with which to bind the object to the
RMI registry
public PonderMCimpl(java.lang.String newRmiName,
PMCServer newPmcServer)
throws java.rmi.RemoteException
newRmiName - The name with which to binf the object to the
RMI RegistrynewPmcServer - A reference to the PMCServer object which
creates this instance| Method Detail |
public void setDirName(java.lang.String newDirName)
throws java.rmi.RemoteException
setDirName in interface PonderMCnewDirName - The name in the Ldap Directory
public void load(java.lang.String policyName,
ObligationI obligation)
throws java.rmi.RemoteException
load in interface PonderMCpolicyName - The name of the policy to loadobligation - The obligation policy object to load
public void load(java.lang.String policyName,
RefrainI refrain)
throws java.rmi.RemoteException
load in interface PonderMCpolicyName - The name of the policy to loadrefrain - The refrain policy object to load
public void unloadOblig(java.lang.String policyName)
throws java.rmi.RemoteException
unloadOblig in interface PonderMCpolicyName - The name of the obligation policy to unload
public void unloadRefrain(java.lang.String policyName)
throws java.rmi.RemoteException
unloadRefrain in interface PonderMCpolicyName - The name of the refrain policy to unload
public void enableOblig(java.lang.String policyName)
throws java.rmi.RemoteException
enableOblig in interface PonderMCpolicyName - The name of the obligation policy to enable
public void enableRefrain(java.lang.String policyName)
throws java.rmi.RemoteException
enableRefrain in interface PonderMCpolicyName - The name of the refrain policy to enable
public void disableOblig(java.lang.String policyName)
throws java.rmi.RemoteException
disableOblig in interface PonderMCpolicyName - The name of the obligation policy to disable
public void disableRefrain(java.lang.String policyName)
throws java.rmi.RemoteException
disableRefrain in interface PonderMCpolicyName - The name of the refrain policy to disable
public java.util.Vector getObligsInfo()
throws java.rmi.RemoteException
getObligsInfo in interface PonderMC
public java.util.Vector getRefrainsInfo()
throws java.rmi.RemoteException
getRefrainsInfo in interface PonderMC
public void stopMC()
throws java.rmi.RemoteException
stopMC in interface PonderMC
public java.lang.String getID()
throws java.rmi.RemoteException
getID in interface PonderMC
public void writeClass(java.lang.String className,
byte[] classBytes)
throws java.rmi.RemoteException
writeClass in interface PonderMC
public void loadAction(PmcAction action)
throws java.rmi.RemoteException
loadAction in interface PonderMCaction - The PmcAction object to loadpublic boolean isActive()
public boolean execAction(java.lang.String name,
java.util.LinkedList params)
name - The name of the action to executeparams - The LinkedList of values (Object's) which are the
parameters to the actionpublic static void main(java.lang.String[] args)
args - Runtime arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||