public class SambaServerComponent extends AugeasConfigurationComponent<ResourceComponent<?>> implements OperationFacet, MeasurementFacet
AUGEAS_MODULE_NAME_PROP, AUGEAS_ROOT_PATH_PROP, DEFAULT_AUGEAS_ROOT_PATH, EXCLUDE_GLOBS_PROP, INCLUDE_GLOBS_PROP, RESOURCE_CONFIGURATION_ROOT_NODE_PROP| Constructor and Description |
|---|
SambaServerComponent() |
| Modifier and Type | Method and Description |
|---|---|
CreateResourceReport |
createResource(CreateResourceReport reportIn) |
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
protected String |
getChildResourceConfigurationRootLabel(org.rhq.core.domain.resource.ResourceType resourceType,
org.rhq.core.domain.configuration.Configuration resourceConfig) |
protected String |
getChildResourceConfigurationRootPath(org.rhq.core.domain.resource.ResourceType resourceType,
org.rhq.core.domain.configuration.Configuration resourceConfig) |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics) |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration params) |
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration() |
protected void |
setNodeFromPropertySimple(net.augeas.Augeas augeas,
AugeasNode node,
org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDefSimple,
org.rhq.core.domain.configuration.PropertySimple propSimple) |
void |
start(ResourceContext resourceContext) |
void |
stop() |
protected Object |
toPropertyValue(org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDefSimple,
net.augeas.Augeas augeas,
AugeasNode node) |
void |
updateResourceConfiguration(ConfigurationUpdateReport report) |
close, createAugeas, createPropertyList, createPropertyMap, createPropertySimple, deleteResource, finalize, getAugeas, getAugeasLoadPath, getAugeasPathRelativeToParent, getAugeasRootPath, getConfigurationFiles, getExistingChildNodeForListMemberPropertyMap, getNewListMemberNode, getNodeInsertionPoint, getResourceConfigurationRootPath, getResourceContext, getResourceDescription, initAugeas, isAugeasAvailable, loadProperty, populatePropertyMap, setNode, setNodeFromPropertyList, setNodeFromPropertyMap, setupAugeasModules, summarizeAugeasError, toNodeValue, updateStructuredConfiguration, validateResourceConfigurationpublic void start(ResourceContext resourceContext) throws Exception
start in interface ResourceComponent<ResourceComponent<?>>start in class AugeasConfigurationComponent<ResourceComponent<?>>Exceptionpublic void stop()
stop in interface ResourceComponent<ResourceComponent<?>>stop in class AugeasConfigurationComponent<ResourceComponent<?>>public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetgetAvailability in class AugeasConfigurationComponent<ResourceComponent<?>>public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
loadResourceConfiguration in interface ConfigurationFacetloadResourceConfiguration in class AugeasConfigurationComponent<ResourceComponent<?>>Exceptionpublic void updateResourceConfiguration(ConfigurationUpdateReport report)
updateResourceConfiguration in interface ConfigurationFacetupdateResourceConfiguration in class AugeasConfigurationComponent<ResourceComponent<?>>public CreateResourceReport createResource(CreateResourceReport reportIn)
createResource in interface CreateChildResourceFacetcreateResource in class AugeasConfigurationComponent<ResourceComponent<?>>protected String getChildResourceConfigurationRootPath(org.rhq.core.domain.resource.ResourceType resourceType, org.rhq.core.domain.configuration.Configuration resourceConfig)
getChildResourceConfigurationRootPath in class AugeasConfigurationComponent<ResourceComponent<?>>protected String getChildResourceConfigurationRootLabel(org.rhq.core.domain.resource.ResourceType resourceType, org.rhq.core.domain.configuration.Configuration resourceConfig)
getChildResourceConfigurationRootLabel in class AugeasConfigurationComponent<ResourceComponent<?>>protected void setNodeFromPropertySimple(net.augeas.Augeas augeas,
AugeasNode node,
org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDefSimple,
org.rhq.core.domain.configuration.PropertySimple propSimple)
setNodeFromPropertySimple in class AugeasConfigurationComponent<ResourceComponent<?>>protected Object toPropertyValue(org.rhq.core.domain.configuration.definition.PropertyDefinitionSimple propDefSimple, net.augeas.Augeas augeas, AugeasNode node)
toPropertyValue in class AugeasConfigurationComponent<ResourceComponent<?>>public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionpublic OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration params) throws Exception
invokeOperation in interface OperationFacetExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.