|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteTestServices
This interface defines functionalities that OurGrid services must have while being under tests. This interface must only be inserted in a OurGrid service through the use of aspects.
Method Summary | |
---|---|
void |
killService()
This method will call java.lang.System#exit(int) forcing
this service to abnormaly stop. |
boolean |
stillIdle()
This method will call the org.ourgrid.test.threadServices.ThreadServices#stillIdle()
and the
org.ourgrid.test.threadServices.ThreadPoolServices#stillIdle()
to make sure this service has not started running since the last
waitUntilServiceHasStopped() |
void |
waitUntilServiceHasStopped()
This method will call the org.ourgrid.test.threadServices.ThreadServices#waitUntilWorkIsDone()
and the
org.ourgrid.test.threadServices.ThreadPoolServices#waitUntilWorkIsDone()
to wait until this service has stopped. |
Method Detail |
---|
void waitUntilServiceHasStopped() throws java.rmi.RemoteException
org.ourgrid.test.threadServices.ThreadServices#waitUntilWorkIsDone()
and the
org.ourgrid.test.threadServices.ThreadPoolServices#waitUntilWorkIsDone()
to wait until this service has stopped.
java.rmi.RemoteException
- Thrown by RMI standards.ThreadServices.waitUntilWorkIsDone()
,
ThreadPoolServices.waitUntilWorkIsDone()
boolean stillIdle() throws java.rmi.RemoteException
org.ourgrid.test.threadServices.ThreadServices#stillIdle()
and the
org.ourgrid.test.threadServices.ThreadPoolServices#stillIdle()
to make sure this service has not started running since the last
waitUntilServiceHasStopped()
java.rmi.RemoteException
- Thrown by RMI standards.waitUntilServiceHasStopped()
void killService() throws java.rmi.RemoteException
java.lang.System#exit(int)
forcing
this service to abnormaly stop.
java.rmi.RemoteException
- Thrown by RMI standards.System.exit(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |