org.apache.felix.framework
Class StartLevelImpl

java.lang.Object
  extended by org.apache.felix.framework.StartLevelImpl
All Implemented Interfaces:
Runnable, org.osgi.service.startlevel.StartLevel

public class StartLevelImpl
extends Object
implements org.osgi.service.startlevel.StartLevel, Runnable

StartLevel service implementation.

Author:
Felix Project Team

Constructor Summary
StartLevelImpl(Felix felix)
           
 
Method Summary
 int getBundleStartLevel(org.osgi.framework.Bundle bundle)
           
 int getInitialBundleStartLevel()
           
 int getStartLevel()
           
 boolean isBundleActivationPolicyUsed(org.osgi.framework.Bundle bundle)
           
 boolean isBundlePersistentlyStarted(org.osgi.framework.Bundle bundle)
           
 void run()
           
 void setBundleStartLevel(org.osgi.framework.Bundle bundle, int startlevel)
           
 void setInitialBundleStartLevel(int startlevel)
           
 void setStartLevel(int startlevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartLevelImpl

public StartLevelImpl(Felix felix)
Method Detail

getStartLevel

public int getStartLevel()
Specified by:
getStartLevel in interface org.osgi.service.startlevel.StartLevel

setStartLevel

public void setStartLevel(int startlevel)
Specified by:
setStartLevel in interface org.osgi.service.startlevel.StartLevel

getBundleStartLevel

public int getBundleStartLevel(org.osgi.framework.Bundle bundle)
Specified by:
getBundleStartLevel in interface org.osgi.service.startlevel.StartLevel

setBundleStartLevel

public void setBundleStartLevel(org.osgi.framework.Bundle bundle,
                                int startlevel)
Specified by:
setBundleStartLevel in interface org.osgi.service.startlevel.StartLevel

getInitialBundleStartLevel

public int getInitialBundleStartLevel()
Specified by:
getInitialBundleStartLevel in interface org.osgi.service.startlevel.StartLevel

setInitialBundleStartLevel

public void setInitialBundleStartLevel(int startlevel)
Specified by:
setInitialBundleStartLevel in interface org.osgi.service.startlevel.StartLevel

isBundlePersistentlyStarted

public boolean isBundlePersistentlyStarted(org.osgi.framework.Bundle bundle)
Specified by:
isBundlePersistentlyStarted in interface org.osgi.service.startlevel.StartLevel

isBundleActivationPolicyUsed

public boolean isBundleActivationPolicyUsed(org.osgi.framework.Bundle bundle)
Specified by:
isBundleActivationPolicyUsed in interface org.osgi.service.startlevel.StartLevel

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2011. All Rights Reserved.