|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Registry of application profiles.
| Field Summary | |
static URI |
DEFAULT_STORAGE_URI
The default storage uri. |
| Method Summary | |
void |
addApplicationDescriptor(String key,
ApplicationDescriptor descriptor)
Add an application descriptor to the registry. |
void |
addRegistryListener(RegistryListener listener)
Add a registry change listener. |
void |
flush()
Request externalization of the registry state. |
ApplicationDescriptor |
getApplicationDescriptor(String key)
Get an application descriptor matching the supplied key. |
int |
getApplicationDescriptorCount()
Return the number of application descriptors in the registry. |
ApplicationDescriptor[] |
getApplicationDescriptors()
Return an array of all profiles in the registry. |
String[] |
getKeys()
Return the array of application keys. |
void |
removeApplicationDescriptor(String key)
Remove an application descriptor from the registry. |
void |
removeRegistryListener(RegistryListener listener)
Remove a registry change listener. |
void |
updateApplicationDescriptor(String key,
ApplicationDescriptor descriptor)
Replace an application descriptor within the registry with a supplied descriptor. |
| Field Detail |
public static final URI DEFAULT_STORAGE_URI
| Method Detail |
public String[] getKeys()
throws RemoteException
RemoteException - if a transport error occurs
public int getApplicationDescriptorCount()
throws RemoteException
RemoteException - if a transport error occurs
public ApplicationDescriptor[] getApplicationDescriptors()
throws RemoteException
RemoteException - if a transport error occurs
public void addApplicationDescriptor(String key,
ApplicationDescriptor descriptor)
throws DuplicateKeyException,
RemoteException
key - the application keydescriptor - the application descriptor
DuplicateKeyException - if the key is already assigned
RemoteException - if a transport error occurs
public ApplicationDescriptor getApplicationDescriptor(String key)
throws UnknownKeyException,
RemoteException
key - the application key
UnknownKeyException - if the key is unknown
RemoteException - if a transport error occurs
public void updateApplicationDescriptor(String key,
ApplicationDescriptor descriptor)
throws UnknownKeyException,
RemoteException
key - the application keydescriptor - the updated application descriptor
UnknownKeyException - if the key is unknown
RemoteException - if a transport error occurs
public void removeApplicationDescriptor(String key)
throws UnknownKeyException,
RemoteException
key - the application key
UnknownKeyException - if the key is unknown
RemoteException - if a transport error occurs
public void addRegistryListener(RegistryListener listener)
throws RemoteException
listener - the registry change listener to add
RemoteException - if a transport error occurs
public void removeRegistryListener(RegistryListener listener)
throws RemoteException
listener - the registry change listener to remove
RemoteException - if a transport error occurs
public void flush()
throws IOException,
RemoteException
IOException - if an I/O error occurs
RemoteException - if a transport error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||