|
Remote System Explorer DataStore Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.dstore.core.java.ClassRequest
public class ClassRequest
Represents a remote class request in the RemoteClassLoader. Contains methods for getting the status of the request, as well as getting the actual class after it has been loaded.
Constructor Summary | |
---|---|
ClassRequest(String className,
boolean synchronous)
Constructs a new ClassRequest |
Method Summary | |
---|---|
String |
getClassName()
Returns the name of the class requested/loaded. |
Class |
getLoadedClass()
Returns the class loaded, or null if it has not been loaded yet. |
boolean |
isLoaded()
Returns whether or not the class has been loaded yet. |
boolean |
isRequested()
Returns whether or not the class has been requested yet. |
boolean |
isSynchronous()
Returns whether or not the class request is synchronous. |
void |
notifyResponse()
Causes all threads waiting for this class request to be filled to wake up. |
void |
setLoaded(boolean loaded)
Call this method when the class has been received and loaded. |
void |
setLoadedClass(Class loadedClass)
Sets the class represented by this object after it has been loaded. |
void |
setRequested(boolean requested)
Call this method when the request for the class has been sent. |
void |
waitForResponse()
Causes the current thread to wait until this class request has been fulfilled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassRequest(String className, boolean synchronous)
className
- The name of the class requestedsynchronous
- whether or not the request is synchronousMethod Detail |
---|
public void waitForResponse()
public void notifyResponse()
public Class getLoadedClass()
public boolean isLoaded()
public String getClassName()
public boolean isRequested()
public boolean isSynchronous()
public void setRequested(boolean requested)
public void setLoaded(boolean loaded)
public void setLoadedClass(Class loadedClass)
|
Remote System Explorer DataStore Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |