|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.managed.plugins.factory.DeploymentTemplateInfoFactory
public class DeploymentTemplateInfoFactory
Creates a DeploymentTemplateInfo from a ManagedObject view, or the deployment attachment class
| Constructor Summary | |
|---|---|
DeploymentTemplateInfoFactory()
|
|
| Method Summary | |
|---|---|
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. |
org.jboss.metatype.api.types.MetaTypeFactory |
getMetaTypeFactory()
|
org.jboss.metatype.api.values.MetaValueFactory |
getMetaValueFactory()
|
void |
setMetaTypeFactory(org.jboss.metatype.api.types.MetaTypeFactory metaTypeFactory)
|
void |
setMetaValueFactory(org.jboss.metatype.api.values.MetaValueFactory metaValueFactory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentTemplateInfoFactory()
| Method Detail |
|---|
public org.jboss.metatype.api.types.MetaTypeFactory getMetaTypeFactory()
public void setMetaTypeFactory(org.jboss.metatype.api.types.MetaTypeFactory metaTypeFactory)
public org.jboss.metatype.api.values.MetaValueFactory getMetaValueFactory()
public void setMetaValueFactory(org.jboss.metatype.api.values.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 template
public DeploymentTemplateInfo createTemplateInfo(Class<?> attachmentClass,
String name,
String description)
throws Exception
attachmentClass - - the metadata class to scan for ManagementProperty annotationsname - - the template namedescription - - the template description
Exception - on failure to create the DeploymentTemplateInfo
public 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 description
Exception - on failure to create the DeploymentTemplateInfo
protected ManagedProperty createProperty(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
ManagementProperty managementProperty)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||