|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.clientapi.agent.metadata.PluginMetadataManager
public class PluginMetadataManager
This is meant to provide an interface to the underlying metadata of a plugin. It will load, translate and cache the metadata for the rest of the services in the form of the domain object classes and the jaxb version of the descriptors.
| Field Summary | |
|---|---|
static ResourceType |
TEST_PLATFORM_TYPE
|
| Constructor Summary | |
|---|---|
PluginMetadataManager()
|
|
| Method Summary | |
|---|---|
ResourceType |
addTestPlatformType()
Adds a platform resource type to represent an "anonymous" platform. |
Set<ResourceType> |
getAllTypes()
|
String |
getComponentClass(ResourceType resourceType)
|
String |
getDiscoveryClass(ResourceType resourceType)
|
String |
getPluginLifecycleListenerClass(String pluginName)
|
Set<String> |
getPluginNames()
|
Set<ResourceType> |
getRootTypes()
|
ResourceType |
getType(ResourceType resourceType)
|
ResourceType |
getType(String typeName,
ResourceCategory category)
|
ResourceType |
getType(String resourceTypeName,
String pluginName)
Returns the Resource type with the specified name and plugin, or null if no such Resource type exists. |
Set<ResourceType> |
getTypesForCategory(ResourceCategory category)
Return the Resource types applicable for a category |
Set<ResourceType> |
loadPlugin(PluginDescriptor pluginDescriptor)
Transforms the pluginDescriptor into domain object form and stores into this object's type system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ResourceType TEST_PLATFORM_TYPE
| Constructor Detail |
|---|
public PluginMetadataManager()
| Method Detail |
|---|
public ResourceType addTestPlatformType()
public String getPluginLifecycleListenerClass(String pluginName)
public String getDiscoveryClass(ResourceType resourceType)
public String getComponentClass(ResourceType resourceType)
public Set<ResourceType> loadPlugin(PluginDescriptor pluginDescriptor)
pluginDescriptor - the descriptor to transform
public ResourceType getType(String typeName,
ResourceCategory category)
@Nullable
public ResourceType getType(String resourceTypeName,
String pluginName)
resourceTypeName - the Resource type namepluginName - the name of the plugin that defines the Resource type
@Nullable public ResourceType getType(ResourceType resourceType)
public Set<ResourceType> getTypesForCategory(ResourceCategory category)
category - ResourceCategory to look up
public Set<ResourceType> getAllTypes()
public Set<ResourceType> getRootTypes()
public Set<String> getPluginNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||