org.rhq.plugins.jbossas5.util
Class ManagedComponentUtils
java.lang.Object
org.rhq.plugins.jbossas5.util.ManagedComponentUtils
public class ManagedComponentUtils
- extends Object
A collection of utility methods for working with Profile Service ManagedComponents.
- Author:
- Ian Springer
|
Method Summary |
static Comparator<org.jboss.managed.api.ComponentType> |
getComponentTypeComparator()
|
static Set<org.jboss.managed.api.ManagedComponent> |
getManagedComponents(org.jboss.deployers.spi.management.ManagementView managementView,
org.jboss.managed.api.ComponentType componentType,
String name,
org.jboss.deployers.spi.management.NameMatcher<org.jboss.managed.api.ManagedComponent> nameMatcher)
|
static Serializable |
getSimplePropertyValue(org.jboss.managed.api.ManagedComponent component,
String propertyName)
|
static org.jboss.managed.api.ManagedComponent |
getSingletonManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView,
org.jboss.managed.api.ComponentType componentType)
|
static EnumSet<org.jboss.managed.api.annotation.ViewUse> |
getViewUses(org.jboss.managed.api.ManagedProperty managedProperty)
|
static boolean |
isManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView,
String name,
org.jboss.managed.api.ComponentType componentType)
TODO |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedComponentUtils
public ManagedComponentUtils()
getSingletonManagedComponent
@Nullable
public static org.jboss.managed.api.ManagedComponent getSingletonManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView,
org.jboss.managed.api.ComponentType componentType)
getSimplePropertyValue
public static Serializable getSimplePropertyValue(org.jboss.managed.api.ManagedComponent component,
String propertyName)
throws ManagedComponentUtils.PropertyNotFoundException
- Throws:
ManagedComponentUtils.PropertyNotFoundException
getViewUses
@NotNull
public static EnumSet<org.jboss.managed.api.annotation.ViewUse> getViewUses(org.jboss.managed.api.ManagedProperty managedProperty)
isManagedComponent
public static boolean isManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView,
String name,
org.jboss.managed.api.ComponentType componentType)
- TODO
getManagedComponents
@NotNull
public static Set<org.jboss.managed.api.ManagedComponent> getManagedComponents(org.jboss.deployers.spi.management.ManagementView managementView,
org.jboss.managed.api.ComponentType componentType,
String name,
org.jboss.deployers.spi.management.NameMatcher<org.jboss.managed.api.ManagedComponent> nameMatcher)
getComponentTypeComparator
public static Comparator<org.jboss.managed.api.ComponentType> getComponentTypeComparator()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.