|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AriesApplicationContextManager
An ApplicationContextManager is responsible for managing Aries applications in the server's OSGi runtime. We expect that many projects consuming this code will provide their own implementation of this service.
Method Summary | |
---|---|
AriesApplicationContext |
getApplicationContext(AriesApplication app)
Obtain an ApplicationContext for an AriesApplication. |
Set<AriesApplicationContext> |
getApplicationContexts()
|
void |
remove(AriesApplicationContext app)
Remove the provided AriesApplicationContext from the running system. |
AriesApplicationContext |
update(AriesApplication app,
DeploymentMetadata oldMetadata)
Update the AriesApplication and return an updated application context. |
Method Detail |
---|
AriesApplicationContext getApplicationContext(AriesApplication app) throws BundleException, ManagementException
app
- The applicaton for which to obtain an ApplicationContext.
BundleException
ManagementException
Set<AriesApplicationContext> getApplicationContexts()
AriesApplicationContext update(AriesApplication app, DeploymentMetadata oldMetadata) throws UpdateException
UpdateException
- if the update failed
IllegalArgumentException
- if the app is not currently installedvoid remove(AriesApplicationContext app) throws BundleException
app
- the application to remove.
BundleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |