public class BasicStatelessInterceptedBean extends SuperInterceptedBean implements BasicStatelessInterceptedLocal, BasicStatelessInterceptedRemote
| Constructor and Description |
|---|
BasicStatelessInterceptedBean() |
| 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 |
inBeanInterceptorPostConstruct()
The interceptor method.
|
void |
inBeanInterceptorPreDestroy()
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 BasicStatelessInterceptedLocalconcat in interface BasicStatelessInterceptedRemotepublic String reverse(String str)
reverse in interface BasicStatelessInterceptedLocalreverse in interface BasicStatelessInterceptedRemotepublic Map<String,Object> getContextData()
ClassInterceptor should not intercept this.getContextData in interface BasicStatelessInterceptedLocalgetContextData in interface BasicStatelessInterceptedRemotepublic 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.@PreDestroy public void inBeanInterceptorPreDestroy() throws Exception
Exception - runtime exceptions.Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.