|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.intercept.InterceptorHandler
org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler
public class NormalScopedBeanInterceptorHandler
Normal scoped beans interceptor handler.
| Field Summary |
|---|
| Fields inherited from class org.apache.webbeans.intercept.InterceptorHandler |
|---|
bean, interceptedMethodMap, webBeansContext |
| Constructor Summary | |
|---|---|
NormalScopedBeanInterceptorHandler(OwbBean<?> bean,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Creates a new bean instance |
|
| Method Summary | |
|---|---|
protected Object |
callAroundInvokes(Method proceed,
Object[] arguments,
List<InterceptorData> stack)
Call around invoke method of the given bean on calling interceptedMethod. |
protected javax.enterprise.context.spi.CreationalContext<Object> |
getContextualCreationalContext()
|
protected Object |
getContextualInstance()
Gets instance from context. |
Object |
invoke(Object instance,
Method method,
Method proceed,
Object[] arguments)
|
protected boolean |
isNotInterceptedOrDecoratedMethod(Method method)
This method provides a way to implement a negative cache for methods which are known to become intercepted or decorated. |
protected void |
setNotInterceptedOrDecoratedMethod(Method method)
This method will get called after the interceptorStack got evaluated and we found out that it isnt intercepted nor decorated. |
| Methods inherited from class org.apache.webbeans.intercept.InterceptorHandler |
|---|
getBeanManager, invoke |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NormalScopedBeanInterceptorHandler(OwbBean<?> bean,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
bean - beancreationalContext - creational context| Method Detail |
|---|
protected boolean isNotInterceptedOrDecoratedMethod(Method method)
InterceptorHandler
isNotInterceptedOrDecoratedMethod in class InterceptorHandlermethod - which should get invoked
true if the method is known to not get intercepted,
false we dont know or it gets interceptedInterceptorHandler.setNotInterceptedOrDecoratedMethod(java.lang.reflect.Method)protected void setNotInterceptedOrDecoratedMethod(Method method)
InterceptorHandler
setNotInterceptedOrDecoratedMethod in class InterceptorHandlerInterceptorHandler.isNotInterceptedOrDecoratedMethod(java.lang.reflect.Method)
public Object invoke(Object instance,
Method method,
Method proceed,
Object[] arguments)
throws Exception
Exception
protected Object callAroundInvokes(Method proceed,
Object[] arguments,
List<InterceptorData> stack)
throws Exception
callAroundInvokes in class InterceptorHandlerproceed - intercepted bean methodarguments - method actual argumentsstack - interceptor stack
Exception - for any exceptionprotected Object getContextualInstance()
protected javax.enterprise.context.spi.CreationalContext<Object> getContextualCreationalContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||