|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.interceptor.InterceptorType
public class InterceptorType
Interceptor class to deal with interceptors instances
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
List<FieldAnnotation<In>> |
getInAnnotations()
|
Class |
getInterceptorClass()
|
static List<InterceptorType> |
getInterceptors(Class<?> clazz)
Returns a list of interceptors for the specified component class, parsing its InterceptedBy annotations |
Map<String,Object> |
getOutjectedValues(Object comp,
ScopeType scope)
Returns all outjected objects from an specific scope |
static InterceptorType |
getType(Class<? extends Interceptor> c)
Returns an InterceptorType which represents the given interceptor class. |
static InterceptorType |
getType(Interceptor interceptor)
Returns an InterceptorType which represents the given interceptor |
int |
hashCode()
|
Interceptor |
newInstance(LogicRequest logicRequest,
BeanProvider provider)
Returns a new instance of this interceptor, using the specified bean provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Interceptor newInstance(LogicRequest logicRequest,
BeanProvider provider)
throws ComponentInstantiationException,
InvalidComponentException
ComponentInstantiationException
InvalidComponentExceptionpublic List<FieldAnnotation<In>> getInAnnotations()
public Class getInterceptorClass()
public static InterceptorType getType(Class<? extends Interceptor> c)
c -
public static InterceptorType getType(Interceptor interceptor)
interceptor -
public static List<InterceptorType> getInterceptors(Class<?> clazz)
clazz - class
public Map<String,Object> getOutjectedValues(Object comp,
ScopeType scope)
throws GettingException,
MethodInvocationException
Outjectable
getOutjectedValues in interface OutjectableGettingException
MethodInvocationExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||