org.jboss.testharness.impl.packaging
Annotation Type Artifact


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Artifact

Mark this class as requiring an artifact to be deployed for the container. By default all classes in the current package, as well as support classes, will be deployed. The resultant artifact may not support session beans.

This test may be a unit test (in which case, if the suite is run in standalone mode, the artifact itself won't be deployed, just the contained classes and xml config files).

Author:
Pete Muir
See Also:
Classes, IntegrationTest, Packaging, Resources

Optional Element Summary
 boolean addCurrentPackage
           
 ArtifactType artifactType
           
 

artifactType

public abstract ArtifactType artifactType
Default:
org.jboss.testharness.impl.packaging.ArtifactType.JSR299

addCurrentPackage

public abstract boolean addCurrentPackage
Default:
true


Copyright © 2009-2010. All Rights Reserved.