org.modeshape.jboss.managed.util
Class ManagedUtils

java.lang.Object
  extended by org.modeshape.jboss.managed.util.ManagedUtils

public class ManagedUtils
extends Object

Class for common utility methods used for ModeShape Managed Objects


Constructor Summary
ManagedUtils()
           
 
Method Summary
static String createLabel(String name)
          Set the human-readable label for the property.
static List<ManagedEngine.ManagedProperty> getProperties(ManagedEngine.Component objectType, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedUtils

public ManagedUtils()
Method Detail

getProperties

public static List<ManagedEngine.ManagedProperty> getProperties(ManagedEngine.Component objectType,
                                                                Object object)

createLabel

public static String createLabel(String name)
Set the human-readable label for the property. If null, this will be set to the humanized form of the name}.

Parameters:
name - the label for the property; may not be null
Returns:
label


Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.