ponderEnforcement.domainService
Interface DomainServiceRI

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

public interface DomainServiceRI
extends java.rmi.Remote

Function:This is the Remote Interface for the DomainService


Method Summary
 java.lang.String getHost()
          Return the host on which this domain server runs
 java.lang.String getServerName()
          Return the name with which this domain server is bound to RMI
 void objectAdded(java.lang.String objDn)
          Informs the DomainService that an Object has been added Updates the CopyDB that it maintains
 void objectChanged(java.lang.String objDn, javax.naming.directory.Attributes attrs)
          Informs the DomainService that an Object has been changed Updates the CopyDB that it maintains
 void objectRemoved(java.lang.String objDn)
          Informs the DomainService that an Object has been removed Updates the CopyDB that it maintains
 void quit()
          Quits
 

Method Detail

quit

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

getHost

public java.lang.String getHost()
                         throws java.rmi.RemoteException
Return the host on which this domain server runs

getServerName

public java.lang.String getServerName()
                               throws java.rmi.RemoteException
Return the name with which this domain server is bound to RMI

objectAdded

public void objectAdded(java.lang.String objDn)
                 throws java.rmi.RemoteException
Informs the DomainService that an Object has been added Updates the CopyDB that it maintains
Parameters:
objDn - The distinguished name of the object that was added

objectRemoved

public void objectRemoved(java.lang.String objDn)
                   throws java.rmi.RemoteException
Informs the DomainService that an Object has been removed Updates the CopyDB that it maintains
Parameters:
objDn - The distinguished name of the object that was added

objectChanged

public void objectChanged(java.lang.String objDn,
                          javax.naming.directory.Attributes attrs)
                   throws java.rmi.RemoteException
Informs the DomainService that an Object has been changed Updates the CopyDB that it maintains
Parameters:
objDn - The distinguished name of the object that was changed
attrs - The new attributes of the object