com.sun.jini.compat.harness
Interface BasicLookupAdmin

All Superinterfaces:
BasicAdmin
All Known Implementing Classes:
DefaultLookupAdmin, ExecServiceAdmin, ReggieAdmin, ServiceStarterAdmin

public interface BasicLookupAdmin
extends BasicAdmin

An interface for basic administration of a lookup. Developers wishing to automate the testing of their lookup should write a class that implements this interface and provides appropriate method implementations for the service it administers. The BasicLookupAdmin implementation class is expected to have a constructor that either takes no arguments or takes a String as an argument.


Field Summary
static java.lang.String CATEGORY
           
 
Method Summary
 ServiceRegistrar getServiceRegistrar()
          Returns the ServiceRegistrar from an already started Lookup.
 
Methods inherited from interface com.sun.jini.compat.harness.BasicAdmin
getAddress, setConfig, start, stop
 

Field Detail

CATEGORY

public static final java.lang.String CATEGORY
See Also:
Constant Field Values
Method Detail

getServiceRegistrar

public ServiceRegistrar getServiceRegistrar()
                                     throws java.rmi.RemoteException
Returns the ServiceRegistrar from an already started Lookup. If there are any problems getting the ServiceRegistrar it throws a RemoteException.

Returns:
a ServiceRegistrar for the lookup being tested.
Throws:
java.rmi.RemoteException


Copyright 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.