JBoss Managed Parent POM 2.1.1.SP2

org.jboss.managed.api.annotation
Annotation Type ManagementDeployment


@Inherited
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ManagementDeployment

An annotation identifying a managed deployment

Version:
$Revision: 73460 $
Author:
Scott.Stark@jboss.org

Optional Element Summary
 String description
          A description of the managed deployment
 ManagedDeployment.DeploymentPhase phase
          The phase the deployment belongs to
 String simpleName
          Get the simple name (x.ear) for the deployment.
 String[] types
          Get the deployment/module types.
 

simpleName

public abstract String simpleName
Get the simple name (x.ear) for the deployment. Generally this is taken from the DeploymentUnit.simpleName.

Returns:
simple name of the deployment
Default:
"%Generated%"

description

public abstract String description
A description of the managed deployment

Returns:
description of the managed deployment
Default:
"%Generated%"

phase

public abstract ManagedDeployment.DeploymentPhase phase
The phase the deployment belongs to

Returns:
the phase of the deployment
Default:
org.jboss.managed.api.ManagedDeployment.DeploymentPhase.APPLICATION

types

public abstract String[] types
Get the deployment/module types.

Returns:
deployment types
Default:
{}

JBoss Managed Parent POM 2.1.1.SP2

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.