Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.fetish.directory
Class FetishServiceRegistration  view FetishServiceRegistration download FetishServiceRegistration.java

java.lang.Object
  extended bycom.fetish.directory.FetishServiceRegistration
All Implemented Interfaces:
java.io.Serializable

public class FetishServiceRegistration
extends java.lang.Object
implements java.io.Serializable

Wrapper for the Jini ServiceRegistration.
Provides a ServiceRegistration object that conceals several details whose direct manipulation is potentially hazardous for the integrity of the FADA.


Field Summary
private  com.fetish.directory.tool.FetishLeaseProxy fl
           
private  ServiceRegistration sr
           
 
Constructor Summary
FetishServiceRegistration(ServiceRegistration sr, com.fetish.directory.tool.FetishLeaseProxy fl)
           
 
Method Summary
 void addAttributes(Entry[] attrSets)
           
 Lease getLease()
           
 ServiceID getServiceID()
           
 void modifyAttributes(Entry[] attrSetTemplates, Entry[] attrSets)
           
 void setAttributes(Entry[] attrSets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sr

private ServiceRegistration sr

fl

private com.fetish.directory.tool.FetishLeaseProxy fl
Constructor Detail

FetishServiceRegistration

public FetishServiceRegistration(ServiceRegistration sr,
                                 com.fetish.directory.tool.FetishLeaseProxy fl)
Method Detail

getServiceID

public ServiceID getServiceID()

getLease

public Lease getLease()

addAttributes

public void addAttributes(Entry[] attrSets)
                   throws UnknownLeaseException,
                          java.rmi.RemoteException

modifyAttributes

public void modifyAttributes(Entry[] attrSetTemplates,
                             Entry[] attrSets)
                      throws UnknownLeaseException,
                             java.rmi.RemoteException

setAttributes

public void setAttributes(Entry[] attrSets)
                   throws UnknownLeaseException,
                          java.rmi.RemoteException