|
org.netbeans.modules.j2ee.metadata/0 1.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetadataModelImplementation<T>
The SPI for MetadataModel.
MetadataModelFactory| Method Summary | ||
|---|---|---|
boolean |
isReady()
Corresponds to MetadataModel.isReady(). |
|
|
runReadAction(MetadataModelAction<T,R> action)
Corresponds to MetadataModel.runReadAction(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction. |
|
|
runReadActionWhenReady(MetadataModelAction<T,R> action)
Corresponds to MetadataModel.runReadActionWhenReady(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction. |
|
| Method Detail |
|---|
<R> R runReadAction(MetadataModelAction<T,R> action) throws MetadataModelException, IOException
MetadataModel.runReadAction(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction) .
action - the action to be executed; never null.
MetadataModelAction.run(T) method.
MetadataModelException - if the action's run() method
threw a checked exception.
IOException - if an error occured while reading the model from its storage.boolean isReady()
MetadataModel.isReady().
<R> Future<R> runReadActionWhenReady(MetadataModelAction<T,R> action) throws MetadataModelException, IOException
MetadataModel.runReadActionWhenReady(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction) .
action - the action to be executed; never null.
Future encapsulating the value returned by the action's MetadataModelAction.run(T) method.
MetadataModelException - if the action's run() method
threw a checked exception.
IOException - if an error occured while reading the model from its storage.
|
org.netbeans.modules.j2ee.metadata/0 1.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||