|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.examples.statelessbean.StatelessBean
public class StatelessBean
Simple stateless bean.
Constructor Summary | |
---|---|
StatelessBean()
|
Method Summary | |
---|---|
int |
add(int a,
int b)
Compute a + b. |
int |
div(int a,
int b)
Divide a by b. |
void |
helloWorld()
Hello world. |
void |
notInterceptedMethod()
Methods without interceptors. |
java.lang.Object |
trace(InvocationContext invocationContext)
Trace method's time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatelessBean()
Method Detail |
---|
public void helloWorld()
helloWorld
in interface StatelessLocal
public int add(int a, int b)
add
in interface StatelessLocal
a
- first intb
- second int
public int div(int a, int b)
div
in interface StatelessLocal
a
- first intb
- second int
public void notInterceptedMethod()
notInterceptedMethod
in interface StatelessLocal
public java.lang.Object trace(InvocationContext invocationContext) throws java.lang.Exception
invocationContext
- contains attributes of invocation
java.lang.Exception
- if invocation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |