|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The SbbLocalObject interface must be extended by all SBB local interfaces
used for synchronous SBB invocations.
| Method Summary | |
byte |
getSbbPriority()
Get the invocation priority for the SBB entity referenced by this SbbLocalObject. |
boolean |
isIdentical(SbbLocalObject obj)
Compare this SbbLocalObject for identity equality with another. |
void |
remove()
Remove the SBB entity referenced by this SbbLocalObject. |
void |
setSbbPriority(byte priority)
Set the invocation priority for the SBB entity referenced by this SbbLocalObject. |
| Method Detail |
public boolean isIdentical(SbbLocalObject obj)
throws TransactionRequiredLocalException,
SLEEException
SbbLocalObject for identity equality with another.
This method is a mandatory transactional method.
obj - the object to compare this with.true if obj is a reference to an SBB entity
with the same identity as the SBB entity referenced by this SbbLocalObject
object, false otherwise.TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.SLEEException - if the equality test could not be completed due to a
system-level failure.
public void setSbbPriority(byte priority)
throws TransactionRequiredLocalException,
NoSuchObjectLocalException,
SLEEException
SbbLocalObject.
This method is a mandatory transactional method.
priority - the new priority. The valid range for priorities is -128 to 127.TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.NoSuchObjectLocalException - if the SBB enitty referenced by this SbbLocalObject
is no longer valid.NoSuchObjectLocalException - if sbb does not reference
a valid SBB entity.SLEEException - if the priority could not be set due to a system-level
failure.
public byte getSbbPriority()
throws TransactionRequiredLocalException,
NoSuchObjectLocalException,
SLEEException
SbbLocalObject.
This method is a mandatory transactional method.
TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.NoSuchObjectLocalException - if the SBB enitty referenced by this SbbLocalObject
is no longer valid.SLEEException - if the SBB's priority could not be obtained due to a
system-level failure.
public void remove()
throws TransactionRequiredLocalException,
NoSuchObjectLocalException,
SLEEException
SbbLocalObject. Any children
of the removed SBB entity also also removed. If the removed SBB entity is not a root SBB
entity of a Service, then the SBB entity is also removed from the relevant child relation
of its parent SBB entity.
An SBB entity that is removed, either directly or indirectly (via a cascade removal), is automatically detached from any Activity Contexts it is attached to.
This method is a mandatory transactional method.
TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.NoSuchObjectLocalException - if the SBB enitty referenced by this SbbLocalObject
is no longer valid.SLEEException - if the SBB entity could not be removed due to a system-level
failure.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||