public class DeploymentTemplateInfoFactory extends Object
| Constructor and Description |
|---|
DeploymentTemplateInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ManagedProperty |
createProperty(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
ManagementProperty managementProperty) |
DeploymentTemplateInfo |
createTemplateInfo(Class<?> attachmentClass,
String name,
String description)
Create a DeploymentTemplateInfo by scanning the metadata attachment
class for ManagementProperty annotations.
|
DeploymentTemplateInfo |
createTemplateInfo(Class<? extends DeploymentTemplateInfo> infoClass,
Class<?> attachmentClass,
String name,
String description)
Create a DeploymentTemplateInfo by scanning the metadata attachment
class for ManagementProperty annotations.
|
DeploymentTemplateInfo |
createTemplateInfo(ManagedObject mo,
String name,
String description)
Create a DeploymentTemplateInfo from the ManagedObject view.
|
MetaTypeFactory |
getMetaTypeFactory() |
MetaValueFactory |
getMetaValueFactory() |
void |
setMetaTypeFactory(MetaTypeFactory metaTypeFactory) |
void |
setMetaValueFactory(MetaValueFactory metaValueFactory) |
public MetaTypeFactory getMetaTypeFactory()
public void setMetaTypeFactory(MetaTypeFactory metaTypeFactory)
public MetaValueFactory getMetaValueFactory()
public void setMetaValueFactory(MetaValueFactory metaValueFactory)
public DeploymentTemplateInfo createTemplateInfo(ManagedObject mo, String name, String description)
mo - - the ManagedObject for the deployment templatename - - the name of the deployment templatedescription - - a description of the deployment templatepublic DeploymentTemplateInfo createTemplateInfo(Class<?> attachmentClass, String name, String description) throws Exception
attachmentClass - - the metadata class to scan for ManagementProperty annotationsname - - the template namedescription - - the template descriptionException - on failure to create the DeploymentTemplateInfopublic DeploymentTemplateInfo createTemplateInfo(Class<? extends DeploymentTemplateInfo> infoClass, Class<?> attachmentClass, String name, String description) throws Exception
infoClass - - the DeploymentTemplateInfo implementation to use. Must
have a ctor with sig (String,String,Map).attachmentClass - - the metadata class to scan for ManagementProperty annotationsname - - the template namedescription - - the template descriptionException - on failure to create the DeploymentTemplateInfoprotected ManagedProperty createProperty(org.jboss.beans.info.spi.PropertyInfo propertyInfo, ManagementProperty managementProperty)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.