public class TargetImpl extends Object implements javax.enterprise.deploy.spi.Target
This implementation is independent of the concrete type of its owner.
| Constructor and Description |
|---|
TargetImpl(TargetOwner owner,
String name,
String description)
Creates a new TargetImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
exportClientStubs(String appName,
String destDir)
Exports the Client stub jars to the given location.
|
String |
getDescription()
Returns the description of the Target.
|
String |
getName()
Returns the name of the Target.
|
TargetOwner |
getOwner() |
public TargetImpl(TargetOwner owner, String name, String description)
Note that this constructor should normally be used only by a TargetOwner.
Logic that needs to create Target instances should invoke TargetOwner.createTarget(java.lang.String) or
TargetOwner.createTargets(java.lang.String[]) on the TargetOwner.
owner - name - description - public String getName()
getName in interface javax.enterprise.deploy.spi.Targetpublic String getDescription()
getDescription in interface javax.enterprise.deploy.spi.Targetpublic TargetOwner getOwner()
public String exportClientStubs(String appName, String destDir) throws IOException
appName - The name of the application or module.destDir - The directory into which the stub jar file
should be exported.IOExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.