|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AriesApplicationContext
Represents an Aries application in the runtime. See the application-runtime module for a sample implementation.
| Nested Class Summary | |
|---|---|
static class |
AriesApplicationContext.ApplicationState
|
| Method Summary | |
|---|---|
AriesApplication |
getApplication()
Obtain the associated AriesApplication metadata. |
Set<org.osgi.framework.Bundle> |
getApplicationContent()
Get the org.osgi.framework.Bundle objects representing the application's runtime constituents. |
AriesApplicationContext.ApplicationState |
getApplicationState()
Get the state of a running application. |
void |
start()
Start the application by starting all its constituent bundles as per the DeploymentContent in the associated AriesApplication's DeploymentMetadata. |
void |
stop()
Stop the application by stopping all its constituent bundles. |
| Method Detail |
|---|
AriesApplicationContext.ApplicationState getApplicationState()
AriesApplication getApplication()
void start()
throws org.osgi.framework.BundleException,
IllegalStateException
org.osgi.framework.BundleException
IllegalStateException
void stop()
throws org.osgi.framework.BundleException,
IllegalStateException
org.osgi.framework.BundleException
IllegalStateExceptionSet<org.osgi.framework.Bundle> getApplicationContent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||