public final class StartLevelPlugin
extends org.jboss.msc.service.AbstractService<T>
implements org.osgi.service.startlevel.StartLevel
StartLevel
service.Modifier and Type | Method and Description |
---|---|
int |
getBundleStartLevel(org.osgi.framework.Bundle bundle) |
int |
getInitialBundleStartLevel() |
int |
getStartLevel() |
StartLevelPlugin |
getValue() |
boolean |
isBundleActivationPolicyUsed(org.osgi.framework.Bundle bundle) |
boolean |
isBundlePersistentlyStarted(org.osgi.framework.Bundle bundle) |
void |
setBundleStartLevel(org.osgi.framework.Bundle bundle,
int level) |
void |
setInitialBundleStartLevel(int startlevel) |
void |
setStartLevel(int level) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<org.osgi.service.startlevel.StartLevel>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<org.osgi.service.startlevel.StartLevel>
public StartLevelPlugin getValue()
getValue
in interface org.jboss.msc.value.Value<org.osgi.service.startlevel.StartLevel>
getValue
in class org.jboss.msc.service.AbstractService<org.osgi.service.startlevel.StartLevel>
public int getStartLevel()
getStartLevel
in interface org.osgi.service.startlevel.StartLevel
public void setStartLevel(int level)
setStartLevel
in interface org.osgi.service.startlevel.StartLevel
public int getBundleStartLevel(org.osgi.framework.Bundle bundle)
getBundleStartLevel
in interface org.osgi.service.startlevel.StartLevel
public void setBundleStartLevel(org.osgi.framework.Bundle bundle, int level)
setBundleStartLevel
in interface org.osgi.service.startlevel.StartLevel
public int getInitialBundleStartLevel()
getInitialBundleStartLevel
in interface org.osgi.service.startlevel.StartLevel
public void setInitialBundleStartLevel(int startlevel)
setInitialBundleStartLevel
in interface org.osgi.service.startlevel.StartLevel
public boolean isBundlePersistentlyStarted(org.osgi.framework.Bundle bundle)
isBundlePersistentlyStarted
in interface org.osgi.service.startlevel.StartLevel
public boolean isBundleActivationPolicyUsed(org.osgi.framework.Bundle bundle)
isBundleActivationPolicyUsed
in interface org.osgi.service.startlevel.StartLevel
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.