|
||||||||||
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.stateful.SecondStatefulInterceptedBean
public class SecondStatefulInterceptedBean
Constructor Summary | |
---|---|
SecondStatefulInterceptedBean()
|
Method Summary | |
---|---|
java.lang.String |
concat(java.lang.String str1,
java.lang.String str2)
A simple dummy business method to concat 2 strings |
java.util.Map<java.lang.String,java.lang.Object> |
getContextData()
ClassInterceptor should not intercept this. |
java.lang.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. |
java.lang.String |
reverse(java.lang.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 SecondStatefulInterceptedBean()
Method Detail |
---|
public java.lang.String concat(java.lang.String str1, java.lang.String str2)
concat
in interface BasicStatefulInterceptedLocal
concat
in interface BasicStatefulInterceptedRemote
public java.lang.String reverse(java.lang.String str)
reverse
in interface BasicStatefulInterceptedLocal
reverse
in interface BasicStatefulInterceptedRemote
public java.util.Map<java.lang.String,java.lang.Object> getContextData()
ClassInterceptor
should not intercept this.
getContextData
in interface BasicStatefulInterceptedLocal
getContextData
in interface BasicStatefulInterceptedRemote
public java.lang.Object inBeanInterceptor(javax.interceptor.InvocationContext ctx) throws java.lang.Exception
@ExcludeClassInterceptors
ctx
- - InvocationContext
java.lang.Exception
- runtime exceptions or application exceptions that are allowed in the throws clause of the business method.@PostConstruct public void inBeanInterceptorPostConstruct() throws java.lang.Exception
java.lang.Exception
- runtime exceptions.public void inBeanInterceptorPostActivate() throws java.lang.Exception
java.lang.Exception
- runtime exceptions.public void inBeanInterceptorPrePassivate() throws java.lang.Exception
java.lang.Exception
- runtime exceptions.@PreDestroy public void inBeanInterceptorPreDestroy() throws java.lang.Exception
java.lang.Exception
- runtime exceptions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |