|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentTemplate
A DeploymentTemplate is a template for creating a DeploymentContext given a set of ManagedProperty representing the template properties to set in the resulting deployment. TODO: this needs to be fleshed out in terms of the various pieces, raw deployment files, ManagedObjects, etc.
| Method Summary | |
|---|---|
org.jboss.virtual.VirtualFile |
applyTemplate(org.jboss.managed.api.DeploymentTemplateInfo values)
Create a temporary deployment virtual that can be added to a profile. |
String |
getDeploymentName(String deploymentBaseName)
Get a deployment name based on the base name, which checks if the name is valid and get the correct suffix for the deployers. |
org.jboss.managed.api.DeploymentTemplateInfo |
getInfo()
Get the exportable representation of the properties that the template supports. |
| Method Detail |
|---|
org.jboss.managed.api.DeploymentTemplateInfo getInfo()
String getDeploymentName(String deploymentBaseName)
deploymentBaseName - the base name.
org.jboss.virtual.VirtualFile applyTemplate(org.jboss.managed.api.DeploymentTemplateInfo values)
throws Exception
values - - the template ManagedProperty values
Exception - - thrown on any failure to create the deployment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||