org.rhq.plugins.jbossas5.util
Class ManagedComponentUtils

java.lang.Object
  extended by org.rhq.plugins.jbossas5.util.ManagedComponentUtils

public class ManagedComponentUtils
extends java.lang.Object

A collection of utility methods for working with Profile Service ManagedComponents.

Author:
Ian Springer

Constructor Summary
ManagedComponentUtils()
           
 
Method Summary
static java.util.Comparator<org.jboss.managed.api.ComponentType> getComponentTypeComparator()
           
static org.jboss.managed.api.ManagedComponent getManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView, org.jboss.managed.api.ComponentType componentType, java.lang.String componentName)
           
static java.util.Set<org.jboss.managed.api.ManagedComponent> getManagedComponents(org.jboss.deployers.spi.management.ManagementView managementView, org.jboss.managed.api.ComponentType componentType, java.lang.String name, org.jboss.deployers.spi.management.NameMatcher<org.jboss.managed.api.ManagedComponent> nameMatcher)
           
static java.io.Serializable getSimplePropertyValue(org.jboss.managed.api.ManagedComponent component, java.lang.String propertyName)
           
static org.jboss.managed.api.ManagedComponent getSingletonManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView, org.jboss.managed.api.ComponentType componentType)
           
static java.util.EnumSet<org.jboss.managed.api.annotation.ViewUse> getViewUses(org.jboss.managed.api.ManagedProperty managedProperty)
           
static boolean isManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView, java.lang.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
 

Constructor Detail

ManagedComponentUtils

public ManagedComponentUtils()
Method Detail

getManagedComponent

public static org.jboss.managed.api.ManagedComponent getManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView,
                                                                         org.jboss.managed.api.ComponentType componentType,
                                                                         java.lang.String componentName)

getSingletonManagedComponent

public static org.jboss.managed.api.ManagedComponent getSingletonManagedComponent(org.jboss.deployers.spi.management.ManagementView managementView,
                                                                                  org.jboss.managed.api.ComponentType componentType)

getSimplePropertyValue

public static java.io.Serializable getSimplePropertyValue(org.jboss.managed.api.ManagedComponent component,
                                                          java.lang.String propertyName)

getViewUses

@NotNull
public static java.util.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,
                                         java.lang.String name,
                                         org.jboss.managed.api.ComponentType componentType)
TODO


getManagedComponents

@NotNull
public static java.util.Set<org.jboss.managed.api.ManagedComponent> getManagedComponents(org.jboss.deployers.spi.management.ManagementView managementView,
                                                                                                 org.jboss.managed.api.ComponentType componentType,
                                                                                                 java.lang.String name,
                                                                                                 org.jboss.deployers.spi.management.NameMatcher<org.jboss.managed.api.ManagedComponent> nameMatcher)

getComponentTypeComparator

public static java.util.Comparator<org.jboss.managed.api.ComponentType> getComponentTypeComparator()


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.