org.rribbit
Class ListenerObject
java.lang.Object
org.rribbit.ListenerObject
public class ListenerObject
- extends Object
This class represents an executable Listener. All the details of the Listener annotation, the method that it's declared on and the target object are stored, so that RRiBbit
has a ready-made object to execute when it receives a request that matches a Listener. Mainly used for internal processing of requests and responses, not for users of the RRiBbit library.
- Author:
- G.J. Schouten
ListenerObject
public ListenerObject()
getTarget
public Object getTarget()
setTarget
public void setTarget(Object target)
getMethod
public Method getMethod()
setMethod
public void setMethod(Method method)
getReturnType
public Class<?> getReturnType()
setReturnType
public void setReturnType(Class<?> returnType)
getHints
public List<String> getHints()
setHints
public void setHints(List<String> hints)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 RRiBbit.org. All Rights Reserved.