public class ModuleOptionsComponent extends BaseComponent implements ConfigurationFacet, DeleteResourceFacet, CreateChildResourceFacet
| Modifier and Type | Class and Description |
|---|---|
static class |
ModuleOptionsComponent.ModuleOptionType |
static class |
ModuleOptionsComponent.Value |
| Modifier and Type | Field and Description |
|---|---|
static HashMap<String,String> |
attributeMap |
static HashMap<String,String> |
newChildTypeMap |
MANAGED_SERVER, testConnection| Constructor and Description |
|---|
ModuleOptionsComponent() |
| Modifier and Type | Method and Description |
|---|---|
static Operation |
createAddModuleOptionTypeOperation(Address address,
String attribute,
List<ModuleOptionsComponent.Value> moduleTypeValue)
Handles the creation of
|
CreateResourceReport |
createResource(CreateResourceReport report) |
static ModuleOptionsComponent.ModuleOptionType |
loadModuleOptionType(String attribute)
Locates the write ModuleOptionType mapped to the AS7Node attribute passed in.
|
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration() |
static List<ModuleOptionsComponent.Value> |
populateSecurityDomainModuleOptions(Result result,
ModuleOptionsComponent.ModuleOptionType type)
Takes the result passed in(successful readAttribute for ModuleOptionType) and
parses the json to populate a json object of type List
|
void |
updateResourceConfiguration(ConfigurationUpdateReport report) |
collectMulticastAddressTrait, deleteResource, deployContent, getAddress, getASConnection, getAvailability, getPath, getResourceDescription, getServerAddress, getServerComponent, getSocketBindingGroup, getStringValue, getValues, invokeOperation, readAttribute, readAttribute, readAttribute, runDeploymentMagicOnServer, setConnection, setPath, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteResourcepublic CreateResourceReport createResource(CreateResourceReport report)
createResource in interface CreateChildResourceFacetcreateResource in class BaseComponentpublic org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
loadResourceConfiguration in interface ConfigurationFacetloadResourceConfiguration in class BaseComponentExceptionpublic void updateResourceConfiguration(ConfigurationUpdateReport report)
updateResourceConfiguration in interface ConfigurationFacetupdateResourceConfiguration in class BaseComponentpublic static ModuleOptionsComponent.ModuleOptionType loadModuleOptionType(String attribute)
attribute - public static List<ModuleOptionsComponent.Value> populateSecurityDomainModuleOptions(Result result, ModuleOptionsComponent.ModuleOptionType type)
result - json.Result type from successful read of attribute.type - ModuleOptionTypepublic static Operation createAddModuleOptionTypeOperation(Address address, String attribute, List<ModuleOptionsComponent.Value> moduleTypeValue)
address - attribute - moduleTypeValue - Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.