net.jini.lookup.entry
Interface EntryBean

All Known Implementing Classes:
AddressBean, LocationBean, CommentBean, NameBean, StatusBean, ServiceInfoBean

public abstract interface EntryBean

Interface to be implemented by all JavaBeans(TM) components that act as "front ends" to Entry classes. Such components must follow several patterns:

See Also:
Entry

Method Summary
 Entry followLink()
          Return the Entry linked to by this JavaBeans component.
 void makeLink(Entry e)
          Make a link to an Entry object.
 

Method Detail

makeLink

public void makeLink(Entry e)
Make a link to an Entry object.
Parameters:
e - the Entry object to link to
Throws:
java.lang.ClassCastException - the Entry is not of the correct type for this JavaBeans component

followLink

public Entry followLink()
Return the Entry linked to by this JavaBeans component.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved