|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.rhq.plugin.util.ProfileServiceUtil
public class ProfileServiceUtil
Field Summary | |
---|---|
protected static Log |
LOG
|
Constructor Summary | |
---|---|
ProfileServiceUtil()
|
Method Summary | ||
---|---|---|
static Boolean |
booleanValue(org.jboss.metatype.api.values.MetaValue v1)
|
|
static void |
convertConfigurationToManagedProperties(Map<String,org.jboss.managed.api.ManagedProperty> managedProperties,
org.rhq.core.domain.configuration.Configuration configuration,
org.rhq.core.domain.resource.ResourceType resourceType)
|
|
static org.rhq.core.domain.configuration.Configuration |
convertManagedObjectToConfiguration(Map<String,org.jboss.managed.api.ManagedProperty> managedProperties,
Map<String,org.rhq.core.domain.configuration.PropertySimple> customProps,
org.rhq.core.domain.resource.ResourceType resourceType)
|
|
static org.jboss.metatype.api.types.MetaType |
convertPropertyDefinitionToMetaType(org.rhq.core.domain.configuration.definition.PropertyDefinition propDef)
|
|
static Map<String,org.rhq.core.domain.configuration.PropertySimple> |
getCustomProperties(org.rhq.core.domain.configuration.Configuration pluginConfig)
|
|
static File |
getDeployDirectory(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
|
|
static org.jboss.deployers.spi.management.deploy.DeploymentManager |
getDeploymentManager(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
Get the DeploymentManager from the ProfileService |
|
static org.jboss.managed.api.ManagedComponent |
getManagedComponent(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
org.jboss.managed.api.ComponentType componentType,
String componentName)
Get the passed in ManagedComponent |
|
static Set<org.jboss.managed.api.ManagedComponent> |
getManagedComponents(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
org.jboss.managed.api.ComponentType componentType)
Get the ManagedComponent for the ComponentType and sub
type. |
|
static org.jboss.managed.api.ManagedComponent |
getManagedEngine(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
Get the passed in ManagedComponent |
|
static org.jboss.managed.api.ManagedComponent |
getManagedSequencingService(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
Get the ManagedSequencingService |
|
static org.jboss.deployers.spi.management.ManagementView |
getManagementView(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
|
|
static
|
getSimpleValue(org.jboss.managed.api.ManagedCommon mc,
String prop,
Class<T> expectedType)
|
|
static
|
getSimpleValue(org.jboss.managed.api.ManagedComponent mc,
String prop,
Class<T> expectedType)
|
|
static void |
populateManagedPropertyFromProperty(org.jboss.managed.api.ManagedProperty managedProperty,
org.rhq.core.domain.configuration.definition.PropertyDefinition propertyDefinition,
org.rhq.core.domain.configuration.Configuration configuration)
|
|
static String |
stringValue(org.jboss.metatype.api.values.MetaValue v1)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Log LOG
Constructor Detail |
---|
public ProfileServiceUtil()
Method Detail |
---|
public static org.jboss.managed.api.ManagedComponent getManagedComponent(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, org.jboss.managed.api.ComponentType componentType, String componentName) throws NamingException, Exception
ManagedComponent
connection
- componentType
- componentName
-
ManagedComponent
NamingException
Exception
public static org.jboss.managed.api.ManagedComponent getManagedEngine(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection) throws NamingException, Exception
ManagedComponent
connection
-
ManagedComponent
NamingException
Exception
public static org.jboss.managed.api.ManagedComponent getManagedSequencingService(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection) throws NamingException, Exception
ManagedSequencingService
connection
-
ManagedSequencingService
NamingException
Exception
public static Set<org.jboss.managed.api.ManagedComponent> getManagedComponents(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, org.jboss.managed.api.ComponentType componentType) throws NamingException, Exception
ManagedComponent
for the ComponentType
and sub
type.
connection
- componentType
-
ManagedComponent
s
NamingException
- , Exception
Exception
public static org.jboss.deployers.spi.management.ManagementView getManagementView(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
connection
-
ManagementView
public static org.jboss.deployers.spi.management.deploy.DeploymentManager getDeploymentManager(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection) throws NamingException, Exception
DeploymentManager
from the ProfileService
connection
-
NamingException
Exception
public static File getDeployDirectory(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection) throws NamingException, Exception
connection
-
File
NamingException
Exception
public static String stringValue(org.jboss.metatype.api.values.MetaValue v1) throws Exception
Exception
public static Boolean booleanValue(org.jboss.metatype.api.values.MetaValue v1) throws Exception
Exception
public static <T> T getSimpleValue(org.jboss.managed.api.ManagedComponent mc, String prop, Class<T> expectedType)
public static <T> T getSimpleValue(org.jboss.managed.api.ManagedCommon mc, String prop, Class<T> expectedType)
public static Map<String,org.rhq.core.domain.configuration.PropertySimple> getCustomProperties(org.rhq.core.domain.configuration.Configuration pluginConfig)
public static org.rhq.core.domain.configuration.Configuration convertManagedObjectToConfiguration(Map<String,org.jboss.managed.api.ManagedProperty> managedProperties, Map<String,org.rhq.core.domain.configuration.PropertySimple> customProps, org.rhq.core.domain.resource.ResourceType resourceType)
public static void convertConfigurationToManagedProperties(Map<String,org.jboss.managed.api.ManagedProperty> managedProperties, org.rhq.core.domain.configuration.Configuration configuration, org.rhq.core.domain.resource.ResourceType resourceType)
public static void populateManagedPropertyFromProperty(org.jboss.managed.api.ManagedProperty managedProperty, org.rhq.core.domain.configuration.definition.PropertyDefinition propertyDefinition, org.rhq.core.domain.configuration.Configuration configuration)
public static org.jboss.metatype.api.types.MetaType convertPropertyDefinitionToMetaType(org.rhq.core.domain.configuration.definition.PropertyDefinition propDef)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |