ponderEnforcement.policyService
Interface PolicyServiceRI

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
PolicyServiceImpl

public interface PolicyServiceRI
extends java.rmi.Remote

Function:This is implemented as a Remote Interface so that it can accept requests from remote clients (the PolicyService will normally not be running on the same host)


Method Summary
 void quit()
          Quits.
 BasicPolControlObject startPolicy(java.lang.String polName, java.lang.String domain)
          Start a Policy Instance.
 RoleControlObject startRole(java.lang.String roleName, java.lang.String domain)
          Start a Role Instance.
 void stopPolicy(java.lang.String polDomainName)
          Stop a Policy.
 

Method Detail

startPolicy

public BasicPolControlObject startPolicy(java.lang.String polName,
                                         java.lang.String domain)
                                  throws java.rmi.RemoteException
Start a Policy Instance.
Parameters:
polName - The name of the policy
domain - The domain path of the policy
Returns:
a BasicPolControlObject

startRole

public RoleControlObject startRole(java.lang.String roleName,
                                   java.lang.String domain)
                            throws java.rmi.RemoteException
Start a Role Instance.
Parameters:
roleName - The name of the role
domain - The domain path of the role
Returns:
a RoleControlObject

stopPolicy

public void stopPolicy(java.lang.String polDomainName)
                throws java.rmi.RemoteException
Stop a Policy. 1. Delete the ControlObject that represents it. 2. Update the controlObjectRef for the policy entry
Parameters:
polDomainName - The ponder domain name of the policy

quit

public void quit()
          throws java.rmi.RemoteException
Quits.