org.apache.geronimo.aries.builder
Class ApplicationGBean
java.lang.Object
org.apache.geronimo.aries.builder.ApplicationGBean
- All Implemented Interfaces:
- GBeanLifecycle
@GBean
public class ApplicationGBean
- extends Object
- implements GBeanLifecycle
- Version:
- $Rev:385232 $ $Date: 2010-05-05 00:50:17 -0400 (Wed, 05 May 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationGBean
public ApplicationGBean(@ParamSpecial(type=kernel)
Kernel kernel,
@ParamSpecial(type=bundle)
org.osgi.framework.Bundle bundle,
@ParamAttribute(name="configId")
Artifact configId,
@ParamReference(name="Installer")
ApplicationInstaller installer)
throws Exception
- Throws:
Exception
getBundle
protected org.osgi.framework.Bundle getBundle()
getAriesApplication
protected org.apache.aries.application.management.AriesApplication getAriesApplication()
getApplicationContent
protected Set<org.osgi.framework.Bundle> getApplicationContent()
getApplicationState
protected org.apache.aries.application.management.AriesApplicationContext.ApplicationState getApplicationState()
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
- Specified by:
doStop in interface GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
applicationStart
protected void applicationStart()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
applicationStop
protected void applicationStop()
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
applicationUninstall
protected void applicationUninstall()
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.