Class TargetImpl

  • All Implemented Interfaces:
    javax.enterprise.deploy.spi.Target

    public class TargetImpl
    extends Object
    implements javax.enterprise.deploy.spi.Target
    Implements the Target interface as specified by JSR-88.

    This implementation is independent of the concrete type of its owner.

    Author:
    tjquinn, David Matejcek
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface javax.enterprise.deploy.spi.Target
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface javax.enterprise.deploy.spi.Target
      • exportClientStubs

        public String exportClientStubs​(String appName,
                                        String destDir)
                                 throws IOException
        Exports the Client stub jars to the given location.
        Parameters:
        appName - The name of the application or module.
        destDir - The directory into which the stub jar file should be exported.
        Returns:
        the absolute location to the main jar file.
        Throws:
        IOException
      • toString

        public String toString()
        Returns the name of this target.
        Overrides:
        toString in class Object