public final class FrameworkCreate extends AbstractIntegrationService<org.jboss.osgi.framework.internal.FrameworkState>
Framework
.
When this services has started, the system bundle context is availbale as
well as the basic infrastructure to register OSGi services.Modifier and Type | Method and Description |
---|---|
protected void |
addServiceDependencies(org.jboss.msc.service.ServiceBuilder<org.jboss.osgi.framework.internal.FrameworkState> builder) |
protected org.jboss.osgi.framework.internal.FrameworkState |
createServiceValue(org.jboss.msc.service.StartContext startContext) |
org.jboss.msc.service.ServiceController<org.jboss.osgi.framework.internal.FrameworkState> |
install(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceListener<Object> listener) |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext context) |
getServiceName, getValue
public org.jboss.msc.service.ServiceController<org.jboss.osgi.framework.internal.FrameworkState> install(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceListener<Object> listener)
install
in interface IntegrationService<org.jboss.osgi.framework.internal.FrameworkState>
install
in class AbstractIntegrationService<org.jboss.osgi.framework.internal.FrameworkState>
protected void addServiceDependencies(org.jboss.msc.service.ServiceBuilder<org.jboss.osgi.framework.internal.FrameworkState> builder)
addServiceDependencies
in class AbstractIntegrationService<org.jboss.osgi.framework.internal.FrameworkState>
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<org.jboss.osgi.framework.internal.FrameworkState>
start
in class AbstractIntegrationService<org.jboss.osgi.framework.internal.FrameworkState>
org.jboss.msc.service.StartException
protected org.jboss.osgi.framework.internal.FrameworkState createServiceValue(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
createServiceValue
in class AbstractIntegrationService<org.jboss.osgi.framework.internal.FrameworkState>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<org.jboss.osgi.framework.internal.FrameworkState>
stop
in class org.jboss.msc.service.AbstractService<org.jboss.osgi.framework.internal.FrameworkState>
Copyright © 2013 JBoss by Red Hat. All rights reserved.