public final class FrameworkActive extends Object
Framework
.
See Framework.start()
for details.public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
#STARTING
state, #init()
is called
- All installed bundles must be started
- The start level of this Framework is moved to the FRAMEWORK_BEGINNING_STARTLEVEL
Any exceptions that occur during bundle starting must be wrapped in a BundleException
and then published as a
framework event of type FrameworkEvent.ERROR
- This Framework's state is set to #ACTIVE
.
- A framework event of type FrameworkEvent.STARTED
is firedstart
in interface org.jboss.msc.service.Service<org.jboss.osgi.framework.internal.FrameworkState>
org.jboss.msc.service.StartException
public org.jboss.osgi.framework.internal.FrameworkState getValue()
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<org.jboss.osgi.framework.internal.FrameworkState>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.