|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.test.SuperInterceptedBean
org.apache.openejb.test.stateless.BasicStatelessInterceptedBean
public class BasicStatelessInterceptedBean
Constructor Summary | |
---|---|
BasicStatelessInterceptedBean()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.openejb.test.SuperInterceptedBean |
---|
superBeanInterceptor, superBeanInterceptorPostConstruct, superBeanInterceptorPreDestroy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicStatelessInterceptedBean()
Method Detail |
---|
public String concat(String str1, String str2)
concat
in interface BasicStatelessInterceptedLocal
concat
in interface BasicStatelessInterceptedRemote
public String reverse(String str)
reverse
in interface BasicStatelessInterceptedLocal
reverse
in interface BasicStatelessInterceptedRemote
public Map<String,Object> getContextData()
ClassInterceptor
should not intercept this.
getContextData
in interface BasicStatelessInterceptedLocal
getContextData
in interface BasicStatelessInterceptedRemote
public Object inBeanInterceptor(javax.interceptor.InvocationContext ctx) throws Exception
@ExcludeClassInterceptors
ctx
- - InvocationContext
Exception
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |