|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfox.ejb.plugin.AbstractInvoker
| Field Summary | |
protected Logger |
logger
|
| Constructor Summary | |
AbstractInvoker()
|
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
java.lang.Object |
invokeBean(Bucket bucket,
Invocation invocation,
java.util.Iterator iter)
执行 invokeBean 方法 |
java.lang.Object |
invokeHome(Bucket bucket,
Invocation invocation,
java.util.Iterator iter)
执行 invokeHome 方法 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Logger logger
| Constructor Detail |
public AbstractInvoker()
| Method Detail |
public java.lang.Object invokeHome(Bucket bucket,
Invocation invocation,
java.util.Iterator iter)
throws java.lang.Exception
Invoker
invokeHome in interface Invokerinvocation - iter - Invoker 调用链
java.lang.Exception
public java.lang.Object invokeBean(Bucket bucket,
Invocation invocation,
java.util.Iterator iter)
throws java.lang.Exception
Invoker
invokeBean in interface Invokerinvocation - iter - Invoker 调用链
java.lang.Exceptionpublic int compareTo(java.lang.Object o)
java.lang.ComparableIn the foregoing description, the notation sgn(expression) designates the mathematical signum function, which is defined to return one of -1, 0, or 1 according to whether the value of expression is negative, zero or positive. The implementor must ensure sgn(x.compareTo(y)) == -sgn(y.compareTo(x)) for all x and y. (This implies that x.compareTo(y) must throw an exception iff y.compareTo(x) throws an exception.)
The implementor must also ensure that the relation is transitive: (x.compareTo(y)>0 && y.compareTo(z)>0) implies x.compareTo(z)>0.
Finally, the implementer must ensure that x.compareTo(y)==0 implies that sgn(x.compareTo(z)) == sgn(y.compareTo(z)), for all z.
It is strongly recommended, but not strictly required that (x.compareTo(y)==0) == (x.equals(y)). Generally speaking, any class that implements the Comparable interface and violates this condition should clearly indicate this fact. The recommended language is "Note: this class has a natural ordering that is inconsistent with equals."
compareTo in interface java.lang.Comparableo - the Object to be compared.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||