org.apache.aries.application.runtime.isolated.impl
Class ApplicationContextImpl
java.lang.Object
org.apache.aries.application.runtime.isolated.impl.ApplicationContextImpl
- All Implemented Interfaces:
- org.apache.aries.application.management.AriesApplicationContext
public class ApplicationContextImpl
- extends Object
- implements org.apache.aries.application.management.AriesApplicationContext
| Nested classes/interfaces inherited from interface org.apache.aries.application.management.AriesApplicationContext |
org.apache.aries.application.management.AriesApplicationContext.ApplicationState |
|
Method Summary |
void |
close()
|
org.apache.aries.application.management.AriesApplication |
getApplication()
|
Set<org.osgi.framework.Bundle> |
getApplicationContent()
|
org.apache.aries.application.management.AriesApplicationContext.ApplicationState |
getApplicationState()
|
void |
open()
|
void |
start()
|
void |
stop()
|
protected void |
uninstall()
Called to remove the application, if called multiple times the subsequent
calls will be ignored. |
void |
update(org.apache.aries.application.DeploymentMetadata newMetadata,
org.apache.aries.application.DeploymentMetadata oldMetadata)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationContextImpl
public ApplicationContextImpl(org.apache.aries.application.management.AriesApplication app,
ApplicationContextManagerImpl acm)
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
uninstall
protected void uninstall()
throws org.osgi.framework.BundleException
- Called to remove the application, if called multiple times the subsequent
calls will be ignored.
- Throws:
org.osgi.framework.BundleException
getApplication
public org.apache.aries.application.management.AriesApplication getApplication()
- Specified by:
getApplication in interface org.apache.aries.application.management.AriesApplicationContext
getApplicationContent
public Set<org.osgi.framework.Bundle> getApplicationContent()
- Specified by:
getApplicationContent in interface org.apache.aries.application.management.AriesApplicationContext
getApplicationState
public org.apache.aries.application.management.AriesApplicationContext.ApplicationState getApplicationState()
- Specified by:
getApplicationState in interface org.apache.aries.application.management.AriesApplicationContext
start
public void start()
throws org.osgi.framework.BundleException,
IllegalStateException
- Specified by:
start in interface org.apache.aries.application.management.AriesApplicationContext
- Throws:
org.osgi.framework.BundleException
IllegalStateException
stop
public void stop()
throws org.osgi.framework.BundleException,
IllegalStateException
- Specified by:
stop in interface org.apache.aries.application.management.AriesApplicationContext
- Throws:
org.osgi.framework.BundleException
IllegalStateException
update
public void update(org.apache.aries.application.DeploymentMetadata newMetadata,
org.apache.aries.application.DeploymentMetadata oldMetadata)
throws org.apache.aries.application.management.UpdateException
- Throws:
org.apache.aries.application.management.UpdateException
close
public void close()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
open
public void open()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.