|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceAction
A computation to be performed within a specific resource context.
The computation is performed by invoking ResourceContext.doResourceAction
on the ResourceAction
object.
This interface is used only for computations that do not throw checked exceptions;
computations that throw checked exceptions must use ResourceExceptionAction
instead.
ResourceContext
,
ResourceContext.doResourceAction(ResourceAction)
,
ResourceExceptionAction
Method Summary | |
---|---|
Object |
executeAction()
Performs the computation. |
Method Detail |
---|
Object executeAction()
ResourceContext.doResourceAction
.
All resource reservation operations performed as part of this computation
will implicitly have access to the ResourceContext
and its
attributes.
RuntimeException
- unchecked exceptions may be thrown
Error
- unchecked exceptions may be thrownResourceContext.doResourceAction(ResourceAction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |