public class OSGiDeployedBundle extends Object implements ApplicationContainer<OSGiContainer>
| Constructor and Description |
|---|
OSGiDeployedBundle(org.osgi.framework.Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application
|
OSGiContainer |
getDescriptor()
Returns the deployment descriptor associated with this application
|
boolean |
resume()
Resumes this application container.
|
boolean |
start(ApplicationContext startupContext)
Starts an application container.
|
boolean |
stop(ApplicationContext stopContext)
Stop the application container
|
boolean |
suspend()
Suspends this application container.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic OSGiContainer getDescriptor()
ApplicationContainergetDescriptor in interface ApplicationContainer<OSGiContainer>public boolean start(ApplicationContext startupContext) throws Exception
ApplicationContainerstart in interface ApplicationContainer<OSGiContainer>startupContext - the start up contextException - if this application container could not be startedpublic boolean stop(ApplicationContext stopContext)
ApplicationContainerstop in interface ApplicationContainer<OSGiContainer>public boolean suspend()
ApplicationContainersuspend in interface ApplicationContainer<OSGiContainer>public boolean resume()
throws Exception
ApplicationContainerresume in interface ApplicationContainer<OSGiContainer>Exception - if this application container could not be
resumedpublic ClassLoader getClassLoader()
ApplicationContainergetClassLoader in interface ApplicationContainer<OSGiContainer>Copyright © 2019. All rights reserved.