|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface must be implemented for updating a repository and performing imports and exports in a safe way.
The procedure's execution has the following features:
ServiceContext)
or via a programmatic service (see ProgrammaticService),commit threshold
has been specified.specific information
can be added.A procedure is executed by calling one of the following methods:
| Method Summary | |
void |
execute(ProcedureContext aContext)
This method's implementation defines what this procedure actually does on the current repository. |
| Method Detail |
public void execute(ProcedureContext aContext)
throws Exception
ProcedureContext.getAdaptationHome()) is cancelled.
Furthermore, if a ProcedureContext method raises an exception then any
preceding modifications made on the repository are first cancelled before this method
gets the exception. This additional feature is for ensuring
that repository and cache remain consistent, even if this method catches these exceptions.
This method is called each time one of following methods is called:
ServiceContext.execute(Procedure) or ProgrammaticService.execute(Procedure).
Hence the possibility that, for a single instance of this interface, this method
is called concurrently by several threads, depends indeed on the way the developper
manages its Procedure instances in integrated
or programmatic service.
Exception
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.3 [0607:0001]
Copyright Orchestra Networks 2000-2008. All rights reserved.