org.rhq.plugins.jbossas5.serviceBinding
Class ManagerComponent
java.lang.Object
org.rhq.plugins.jbossas5.AbstractManagedComponent
org.rhq.plugins.jbossas5.ManagedComponentComponent
org.rhq.plugins.jbossas5.serviceBinding.ManagerComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, CreateChildResourceFacet, DeleteResourceFacet, ResourceComponent<ProfileServiceComponent<?>>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent<?>>, JMXComponent<ProfileServiceComponent<?>>
public class ManagerComponent
- extends ManagedComponentComponent
- implements CreateChildResourceFacet
Manager component for the Service Binding Manager.
- Author:
- Heiko W. Rupp, Lukas Krejci
| Methods inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent |
addValueToMeasurementReport, deleteResource, getComponentName, getComponentType, getInnerValue, getManagedComponent, getManagedProperty, getMeasurement, getSimpleValue, getSimpleValue, getValues, getValues, invokeOperation, invokeOperation, start, stop, updateComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagerComponent
public ManagerComponent()
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet- Overrides:
getAvailability in class ManagedComponentComponent
loadResourceConfiguration
public org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet- Overrides:
loadResourceConfiguration in class ManagedComponentComponent
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport configurationUpdateReport)
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet- Overrides:
updateResourceConfiguration in class ManagedComponentComponent
createResource
public CreateResourceReport createResource(CreateResourceReport report)
- Specified by:
createResource in interface CreateChildResourceFacet
getBindingSetValueMetaType
public org.jboss.metatype.api.types.MetaType getBindingSetValueMetaType(org.jboss.managed.api.ManagedComponent bindingManager)
getBindingManager
public org.jboss.managed.api.ManagedComponent getBindingManager()
updateBindingManager
public void updateBindingManager(org.jboss.managed.api.ManagedComponent bindingManagerComponent)
throws Exception
- Throws:
Exception
getBindingSetResourceKey
public String getBindingSetResourceKey(String bindingSetName)
getBindingSetNameFromResourceKey
public String getBindingSetNameFromResourceKey(String resourceKey)
checkValidity
public void checkValidity(org.rhq.core.domain.configuration.Configuration bindingSetConfiguration)
throws IllegalArgumentException,
UnknownHostException
- Checks the validity of the binding set configuration before it is submitted to the
Profile Service.
This is to work around JOPR-372.
- Parameters:
bindingSetConfiguration -
- Throws:
IllegalArgumentException - if some of the required properties is null or empty
UnknownHostException - if default host name is invalid
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.