Interface for anything which provides facets, such as a service.
public interface IFacetProvider extends IRemote
{
/** Bind to a facet by name
* @param facet The name of the facet. This should be the class name of
* the facet and the interface should be in the consumer's class space.
* @throws FacetBindException If an error occured while binding to the
* facet.
* @return The remote interface. This can then be cast into the interface
* of the required facet.
*/
public IRemote bindFacet(String facet) throws FacetBindException;
}
See also: the IService interface.
Nik Silver 2001-11-21