|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextModel
The ContextModel interface defines the remotely accessible component context.
| Method Summary | |
|---|---|
EntryDescriptor |
getEntryDescriptor(String key)
Return a of context entry descriptor. |
EntryDescriptor[] |
getEntryDescriptors()
Return the set of context entries descriptors. |
Directive |
getEntryDirective(String key)
Return the current directive assigned to a context entry. |
void |
setEntryDirective(String key,
Directive directive)
Set a context entry directive value. |
void |
setEntryDirectives(PartReference[] directives)
Apply an array of tagged directive as an atomic operation. |
void |
validate()
Validate the model. |
| Method Detail |
|---|
EntryDescriptor[] getEntryDescriptors()
throws RemoteException
RemoteException - if a remote exception occurs
EntryDescriptor getEntryDescriptor(String key)
throws UnknownKeyException,
RemoteException
key - the entry key
UnknownKeyException - if the key is unknown
RemoteException - if a remote exception occurs
Directive getEntryDirective(String key)
throws UnknownKeyException,
RemoteException
key - the context entry key
UnknownKeyException - if the key is unknown
RemoteException - if a remote exception occurs
void validate()
throws ValidationException,
RemoteException
ValidationException - if one or more issues exist within the model
RemoteException - if a remote exception occurs
void setEntryDirective(String key,
Directive directive)
throws UnknownKeyException,
RemoteException
key - the context entry keydirective - the context entry directive
UnknownKeyException - if the key is unknown
RemoteException - if a remote I/O error occurs
void setEntryDirectives(PartReference[] directives)
throws UnknownKeyException,
RemoteException
directives - an array of part references
UnknownKeyException - if a key within the array does not match a
key within the context model.
RemoteException - if a remote I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||