|
|||||||||
| 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.RefrainControlObjectImpl
Function: The Implementation of the Refrain Control Object
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface ponderEnforcement.ControlObject |
DORMANT, ENABLED, LOADED |
| Constructor Summary | |
RefrainControlObjectImpl(RefrainI newRefrain,
byte[] newClassBytes,
java.lang.String newName,
java.lang.String newTypeName,
java.lang.String newTypePath)
Constructor |
|
| Method Summary | |
PonderMC |
connectToPmc(java.lang.String pmcDirName)
Connect to PMC |
void |
disable()
disable |
void |
domainChange(PonderMC pmc,
java.lang.String pmcDn,
boolean added)
Indicates a change in a domain which affects the subject domain of the policy |
void |
enable()
enable |
java.lang.String |
getDomainPath()
return the domain path of the policy Object of this control object |
byte[] |
getJavaBytecode()
get the Java ByteCodes for the User-defined Policy Object |
java.lang.String |
getName()
return the name of the policy Object of this control object |
BasicPolicyI |
getPolicyObject()
get the Policy object |
int |
getStatus()
get the Status of the object (policy-life-cycle!) |
java.lang.String |
getTypeName()
return the name of the type from which the policy Object of this this control object is instantiated |
java.lang.String |
getTypePath()
return the domain path of the type from which the policy Object for this control object is instantiated |
void |
load()
load |
void |
parentChange(java.lang.String objDn,
boolean refToDomain)
Indicates a change in a domain which affects the subject domain of the policy. |
void |
setPolicyObject(RefrainI newRefrain)
Set the corresponding PolicyObject |
void |
setStatus(int newStatus)
set the Status of the object (policy-life-cycle!) |
void |
unload()
unload |
| 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 RefrainControlObjectImpl(RefrainI newRefrain,
byte[] newClassBytes,
java.lang.String newName,
java.lang.String newTypeName,
java.lang.String newTypePath)
throws java.rmi.RemoteException
| Method Detail |
public int getStatus()
throws java.rmi.RemoteException
getStatus in interface ControlObject
public void setStatus(int newStatus)
throws java.rmi.RemoteException
setStatus in interface ControlObject
public void setPolicyObject(RefrainI newRefrain)
throws java.rmi.RemoteException
setPolicyObject in interface RefrainControlObject
public void load()
throws java.rmi.RemoteException,
ControlObjectException
load in interface ControlObject
public void unload()
throws java.rmi.RemoteException,
ControlObjectException
unload in interface ControlObject
public void enable()
throws java.rmi.RemoteException,
ControlObjectException
enable in interface ControlObject
public void disable()
throws java.rmi.RemoteException,
ControlObjectException
disable in interface ControlObject
public void domainChange(PonderMC pmc,
java.lang.String pmcDn,
boolean added)
throws java.rmi.RemoteException
domainChange in interface ORControlObjectpmc - The PonderMC which was added or removedpmcDn - The PonderMC DN with which it is bound to the directoryadded - If true it means that the object was added. If false
it means that the object was removed
public void parentChange(java.lang.String objDn,
boolean refToDomain)
throws java.rmi.RemoteException
parentChange in interface ORControlObjectobjDn - The DN of the object which had a new parent added or
a parent removed. Used only for the case when it is a domainrefToDomain - If true it means that the parent was pointing to
a domain object
public BasicPolicyI getPolicyObject()
throws java.rmi.RemoteException
getPolicyObject in interface BasicPolControlObject
public byte[] getJavaBytecode()
throws java.rmi.RemoteException
getJavaBytecode in interface BasicPolControlObject
public java.lang.String getName()
throws java.rmi.RemoteException
getName in interface ControlObject
public java.lang.String getDomainPath()
throws java.rmi.RemoteException
getDomainPath in interface ControlObject
public java.lang.String getTypeName()
throws java.rmi.RemoteException
getTypeName in interface ControlObject
public java.lang.String getTypePath()
throws java.rmi.RemoteException
getTypePath in interface ControlObjectpublic PonderMC connectToPmc(java.lang.String pmcDirName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||