|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for basic administration of any kind of program. All
Admin interfaces subclass from this one. If someone wishes to automate
the testing of their program they need to implement this
interface and one of it's subinterfaces depending on the program
category. The implementation must also have a no argument
constructor or a constructor that takes a String
as it's only argument.
Method Summary | |
java.net.InetAddress |
getAddress()
Gets the internet address of the host where the program is being run. |
void |
setConfig(Config conf)
Passes a config object to the admin so that implementations of the admin can get access to configuration information, such as config files. |
void |
start()
Start the Jini(TM) technology features of the program. |
void |
stop()
Stop the Jini(TM) technology features of the program completely including removing the program from activation and resetting any persistence these features require. |
Method Detail |
public void setConfig(Config conf)
conf
- the configuration objectpublic void start() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.net.InetAddress getAddress() throws java.rmi.RemoteException
java.rmi.RemoteException
public void stop() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |