org.jboss.osgi.spi.util
Class ConstantsHelper

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

public abstract class ConstantsHelper
extends java.lang.Object

String representation for common OSGi Constants

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

Constructor Summary
ConstantsHelper()
           
 
Method Summary
static java.lang.String bundleEvent(int eventType)
          Return the string representation of a BundleEvent type
static java.lang.String bundleState(int bundleState)
          Return the string representation of a Bundle state
static java.lang.String frameworkEvent(int eventType)
           
static java.lang.String logLevel(int level)
          Return the string representation of a LogService level
static java.lang.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 java.lang.String bundleState(int bundleState)
Return the string representation of a Bundle state


bundleEvent

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


serviceEvent

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


frameworkEvent

public static java.lang.String frameworkEvent(int eventType)

logLevel

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



Copyright © 2010. All Rights Reserved.