org.jboss.osgi.spi.util
Class ConstantsHelper

java.lang.Object
  extended by org.jboss.osgi.spi.util.ConstantsHelper

public abstract class ConstantsHelper
extends Object

String representation for common OSGi Constants

Since:
04-Mar-2009
Author:
thomas.diesler@jboss.com

Constructor Summary
ConstantsHelper()
           
 
Method Summary
static String bundleEvent(int eventType)
          Return the string representation of a BundleEvent type
static String bundleState(int bundleState)
          Return the string representation of a Bundle state
static String frameworkEvent(int eventType)
           
static String logLevel(int level)
          Return the string representation of a LogService level
static String serviceEvent(int eventType)
          Return the string representation of a ServiceEvent type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantsHelper

public ConstantsHelper()
Method Detail

bundleState

public static String bundleState(int bundleState)
Return the string representation of a Bundle state


bundleEvent

public static String bundleEvent(int eventType)
Return the string representation of a BundleEvent type


serviceEvent

public static String serviceEvent(int eventType)
Return the string representation of a ServiceEvent type


frameworkEvent

public static String frameworkEvent(int eventType)

logLevel

public static String logLevel(int level)
Return the string representation of a LogService level



Copyright © 2011. All Rights Reserved.