org.rhq.core.pc.util
Class ComponentServiceImpl

java.lang.Object
  extended by org.rhq.core.pc.util.ComponentServiceImpl
All Implemented Interfaces:
ComponentService

public class ComponentServiceImpl
extends Object
implements ComponentService


Constructor Summary
ComponentServiceImpl()
           
 
Method Summary
 ResourceComponent fetchResourceComponent(int resourceId)
           
 String getAmpsVersion(int resourceId)
           
<T> T
getComponent(int resourceId, Class<T> facetInterface, FacetLockType lockType, long timeout, boolean daemonThread, boolean onlyIfStarted)
           
 org.rhq.core.domain.resource.ResourceType getResourceType(int resourceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentServiceImpl

public ComponentServiceImpl()
Method Detail

getResourceType

public org.rhq.core.domain.resource.ResourceType getResourceType(int resourceId)
                                                          throws PluginContainerException
Specified by:
getResourceType in interface ComponentService
Throws:
PluginContainerException

getComponent

public <T> T getComponent(int resourceId,
                          Class<T> facetInterface,
                          FacetLockType lockType,
                          long timeout,
                          boolean daemonThread,
                          boolean onlyIfStarted)
               throws PluginContainerException
Specified by:
getComponent in interface ComponentService
Throws:
PluginContainerException

getAmpsVersion

public String getAmpsVersion(int resourceId)
                      throws PluginContainerException
Specified by:
getAmpsVersion in interface ComponentService
Throws:
PluginContainerException

fetchResourceComponent

public ResourceComponent fetchResourceComponent(int resourceId)
Specified by:
fetchResourceComponent in interface ComponentService


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