|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.grid.spi.SPI
public abstract class SPI
Constructor Summary | |
---|---|
SPI()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this SPI instance to another. |
int |
getInvocationOrder()
Returns invocation order of this SPI instance. |
abstract java.lang.String |
getName()
Returns the name of this SPI instance. |
void |
setInvocationOrder(int n)
Called by job scheduler SPI initialization to set invocation order for this SPI instance. |
java.lang.String |
toString()
Returns string form of this SPI instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SPI()
Method Detail |
---|
public abstract java.lang.String getName()
public void setInvocationOrder(int n)
Called by job scheduler SPI initialization to set invocation order for this SPI instance. The order is given by the numeric qualifier from the xd.spi.properties file for the given SPI type - e.g.
# spi.WSGridNotificationSPI.1=com.abc.NotifySPI_A # spi.WSGridNotificationSPI.2=com.abc.NotifySPI_BWhich results in the invocation order being NotifySPI_A, then NotifySPI_B. Note that each SPI instance of the same logical type should have a unique invocation ordinal value. This is not enforced. SPIs of the same type with the same invocation order will be invoked in an unpredictable order.
specifies
- the invocation ordinal value.public int getInvocationOrder()
public java.lang.String toString()
toString
in class java.lang.Object
{logical-name}:{invocation-order}
public int compareTo(java.lang.Object o)
Compares this SPI instance to another. Comparisons are numeric, based on invocation order.
compareTo
in interface java.lang.Comparable
SPI
- instance to compare with this SPI instance.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |