|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to a store for Configurations.
| Method Summary | |
boolean |
containsConfiguration(URI configID)
Determines if the store contains a configuration with the spedified ID. |
URL |
getBaseURL(URI id)
Return the base URL for the specified ID |
org.apache.geronimo.gbean.jmx.GBeanMBean |
getConfiguration(URI id)
Return the Configuration GBean for the specified ID |
String |
getObjectName()
Return the object name for the store. |
URI |
install(URL source)
Add the CAR at the supplied URL into this store |
List |
listConfiguations()
Return the configurations in the store |
void |
uninstall(URI configID)
|
| Method Detail |
public URI install(URL source)
throws IOException,
InvalidConfigException
source - the URL of a CAR format archive
IOException - if the CAR could not be read
InvalidConfigException - if there is a configuration problem with the CAR
public void uninstall(URI configID)
throws NoSuchConfigException,
IOException
NoSuchConfigException
IOExceptionpublic boolean containsConfiguration(URI configID)
configID - the unique ID of the configuration
public org.apache.geronimo.gbean.jmx.GBeanMBean getConfiguration(URI id)
throws NoSuchConfigException,
IOException,
InvalidConfigException
id - the unique ID of a Configuration
NoSuchConfigException - if the store does not contain a Configuration with that id
IOException - if there was a problem loading the Configuration from the store
InvalidConfigException - if the Configuration is invalid
public URL getBaseURL(URI id)
throws NoSuchConfigException
id - the unique ID for a Configuration
NoSuchConfigException - if the store does not contain a Configuration with that idpublic String getObjectName()
public List listConfiguations()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||