|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.schwarzrot.util.Callback
public class Callback
usable for unknown method invocation
Constructor Summary | |
---|---|
Callback(Object instance,
Method method)
creates a callback |
Method Summary | |
---|---|
Object |
getInstance()
returns the callbacks subject |
Method |
getMethod()
returns the method to call |
void |
setInstance(Object instance)
sets the instance that is subject of call |
void |
setMethod(Method method)
sets the method that should be called |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Callback(Object instance, Method method)
instance
- - the instance, that is subject of callmethod
- - the method to callMethod Detail |
---|
public final Object getInstance()
public final Method getMethod()
public final void setInstance(Object instance)
instance
- - the subject of callpublic final void setMethod(Method method)
method
- - the method to call
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |