org.ops4j.pax.runner.osgi
Class RunnerStartLevel

java.lang.Object
  extended by org.ops4j.pax.runner.osgi.UnsupportedStartLevel
      extended by org.ops4j.pax.runner.osgi.RunnerStartLevel
All Implemented Interfaces:
org.osgi.service.startlevel.StartLevel

public class RunnerStartLevel
extends UnsupportedStartLevel


Constructor Summary
RunnerStartLevel()
           
 
Method Summary
static void install(org.apache.felix.framework.ServiceRegistry serviceRegistry)
          Installs itself as a service in felix service registry.
 void setBundleStartLevel(org.osgi.framework.Bundle bundle, int startLevel)
          Sets the bundle start level if the bundle is a runner bundle.
 
Methods inherited from class org.ops4j.pax.runner.osgi.UnsupportedStartLevel
getBundleStartLevel, getInitialBundleStartLevel, getStartLevel, isBundleActivationPolicyUsed, isBundlePersistentlyStarted, setInitialBundleStartLevel, setStartLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunnerStartLevel

public RunnerStartLevel()
Method Detail

install

public static void install(org.apache.felix.framework.ServiceRegistry serviceRegistry)
Installs itself as a service in felix service registry.

Parameters:
serviceRegistry - a felix service registry

setBundleStartLevel

public void setBundleStartLevel(org.osgi.framework.Bundle bundle,
                                int startLevel)
Sets the bundle start level if the bundle is a runner bundle.

Specified by:
setBundleStartLevel in interface org.osgi.service.startlevel.StartLevel
Overrides:
setBundleStartLevel in class UnsupportedStartLevel
See Also:
StartLevel.setBundleStartLevel(org.osgi.framework.Bundle,int)


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.