|
||||||||||
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. |
MetaTypeFactory |
getMetaTypeFactory()
|
MetaValueFactory |
getMetaValueFactory()
|
void |
setMetaTypeFactory(MetaTypeFactory metaTypeFactory)
|
void |
setMetaValueFactory(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 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 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 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 description
Exception
- on failure to create the DeploymentTemplateInfoprotected 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 |