org.rhq.plugins.postgres
Class PostgresUserDiscoveryComponent

java.lang.Object
  extended by org.rhq.plugins.postgres.PostgresUserDiscoveryComponent
All Implemented Interfaces:
ResourceDiscoveryComponent<PostgresServerComponent<?>>

public class PostgresUserDiscoveryComponent
extends Object
implements ResourceDiscoveryComponent<PostgresServerComponent<?>>

Discovers Postgres Users though shouldn't need super user access

Author:
Greg Hinkle

Field Summary
static String USERS_QUERY
           
 
Constructor Summary
PostgresUserDiscoveryComponent()
           
 
Method Summary
 Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<PostgresServerComponent<?>> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERS_QUERY

public static final String USERS_QUERY
See Also:
Constant Field Values
Constructor Detail

PostgresUserDiscoveryComponent

public PostgresUserDiscoveryComponent()
Method Detail

discoverResources

public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<PostgresServerComponent<?>> context)
                                                 throws Exception
Specified by:
discoverResources in interface ResourceDiscoveryComponent<PostgresServerComponent<?>>
Throws:
Exception


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