SRJRCFrames
v0.1.296

de.schwarzrot.util
Class Callback

java.lang.Object
  extended by de.schwarzrot.util.Callback

public class Callback
extends Object

usable for unknown method invocation

Author:
Reinhard Mantey

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

Callback

public Callback(Object instance,
                Method method)
creates a callback

Parameters:
instance - - the instance, that is subject of call
method - - the method to call
Method Detail

getInstance

public final Object getInstance()
returns the callbacks subject

Returns:
- the instance that is subject of call

getMethod

public final Method getMethod()
returns the method to call

Returns:
- the method to call

setInstance

public final void setInstance(Object instance)
sets the instance that is subject of call

Parameters:
instance - - the subject of call

setMethod

public final void setMethod(Method method)
sets the method that should be called

Parameters:
method - - the method to call

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.