|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Interface describing an extension. Customers develop extensions to add functionality to an application that processes extension points. An extension provider provides the extension with input parameter values and an output parameter mapping and exposes it to an extension processor. The processor collects and processes the extension when the extension point is reached.
| Method Summary | |
void |
commit(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor when no error occured and all changings are finalized. |
IExtensionPoint[] |
getExtensionPoints()
List the extension points the extension wants to handle. |
IParameterInfo[] |
getInputParameterInfos(IExtensionPoint point)
List infos for all input parameters the extension needs to process an extension point. |
IParameterInfo[] |
getOutputParameterInfos(IExtensionPoint point)
List infos for all output parameters the extension delivers after processing an extension point. |
IExtensionResult |
process(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor when an extension point is reached and the extension needs to be processed. |
void |
rollback(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor when an error occured. |
void |
validate(IExtensionPoint extension,
IExtensionContext context)
Method called by the extension processor to validate that the extension can be processed. |
| Methods inherited from interface com.sap.netweaver.coll.shared.api.extension.IDisplayable |
getDescription, getId, getName |
| Method Detail |
public IExtensionPoint[] getExtensionPoints()
public IParameterInfo[] getInputParameterInfos(IExtensionPoint point)
extensionPoint - The extension point for wich the parameters are listedpublic IParameterInfo[] getOutputParameterInfos(IExtensionPoint point)
extensionPoint - The extension point for wich the parameters are listed
public void validate(IExtensionPoint extension,
IExtensionContext context)
throws ExtensionException
extensionPoint - The extension point to handleextensionContext - A context containing the required input parameters
public IExtensionResult process(IExtensionPoint extension,
IExtensionContext context)
throws ExtensionException
extensionPoint - The extension point to handleextensionContext - A context containing the required input parameters
public void rollback(IExtensionPoint extension,
IExtensionContext context)
throws ExtensionException
extensionPoint - The extension point to handleextensionContext - A context containing the required input parameters
public void commit(IExtensionPoint extension,
IExtensionContext context)
throws ExtensionException
extensionPoint - The extension point to handleextensionContext - A context containing the required input parameters
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||