public class BasicStatefulInterceptedBean extends SuperInterceptedBean implements BasicStatefulInterceptedLocal, BasicStatefulInterceptedRemote
| Constructor and Description |
|---|
BasicStatefulInterceptedBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
concat(String str1,
String str2)
A simple dummy business method to concat 2 strings
|
Map<String,Object> |
getContextData()
ClassInterceptor should not intercept this. |
Object |
inBeanInterceptor(javax.interceptor.InvocationContext ctx)
The interceptor method.
|
void |
inBeanInterceptorPostActivate()
The interceptor method.
|
void |
inBeanInterceptorPostConstruct()
The interceptor method.
|
void |
inBeanInterceptorPreDestroy()
The interceptor method.
|
void |
inBeanInterceptorPrePassivate()
The interceptor method.
|
String |
reverse(String str)
A simple dummy busines method to reverse a string
|
superBeanInterceptor, superBeanInterceptorPostConstruct, superBeanInterceptorPreDestroypublic String concat(String str1, String str2)
concat in interface BasicStatefulInterceptedLocalconcat in interface BasicStatefulInterceptedRemoteBasicStatefulInterceptedLocal.concat(java.lang.String, java.lang.String)public String reverse(String str)
reverse in interface BasicStatefulInterceptedLocalreverse in interface BasicStatefulInterceptedRemoteBasicStatefulInterceptedLocal.reverse(java.lang.String)public Map<String,Object> getContextData()
ClassInterceptor should not intercept this.getContextData in interface BasicStatefulInterceptedLocalgetContextData in interface BasicStatefulInterceptedRemotepublic Object inBeanInterceptor(javax.interceptor.InvocationContext ctx) throws Exception
@ExcludeClassInterceptorsctx - - InvocationContextException - runtime exceptions or application exceptions that are allowed in the throws clause of the business method.@PostConstruct public void inBeanInterceptorPostConstruct() throws Exception
Exception - runtime exceptions.public void inBeanInterceptorPostActivate()
throws Exception
Exception - runtime exceptions.public void inBeanInterceptorPrePassivate()
throws Exception
Exception - runtime exceptions.@PreDestroy public void inBeanInterceptorPreDestroy() throws Exception
Exception - runtime exceptions.Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.