public class NestedAppClientDeployerHelper extends AppClientDeployerHelper
AppClientDeployerHelper.ProxyACC_MAIN_LOGGER, archivist, LOG_MESSAGE_RESOURCE| Modifier and Type | Method and Description |
|---|---|
protected void |
addClientPolicyFiles(OutputJarArchive clientFacadeArchive)
Adds the client policy files to the top-level generated JAR.
|
protected void |
addTopLevelContentToClientFacade(OutputJarArchive facadeArchive) |
URI |
appClientServerOriginalAnchor(DeploymentContext dc)
Returns the URI on the server to the original location of the app client.
|
URI |
appClientServerURI(DeploymentContext dc)
Returns the URI to the server's copy of the developer's original app
client JAR.
|
URI |
appClientURIWithinApp(DeploymentContext dc)
Returns the URI within the enclosing app of the app client JAR.
|
URI |
appClientUserURI(DeploymentContext dc)
Returns the URI to the developer's original app client JAR within
the download directory the user specifies in "deploy --retrieve" or
"get-client-stubs."
|
URI |
appClientUserURIForFacade(DeploymentContext dc)
Returns the URI to be used for the GlassFish-AppClient manifest entry
in the facade.
|
String |
appLibraryExtensions() |
protected Set<Artifacts.FullAndPartURIs> |
clientLevelDownloads() |
protected void |
copyFileToTopLevelJAR(OutputJarArchive clientFacadeArchive,
File f,
String path)
Adds a file to the EAR-level group facade JAR.
|
void |
createAndAddLibraryJNLPs(AppClientDeployerHelper helper,
TokenHelper tHelper,
Map<String,DynamicContent> dynamicContent) |
Set<Artifacts.FullAndPartURIs> |
earLevelDownloads() |
protected String |
facadeClassPath()
Returns the class path to be stored in the manifest for the
generated facade JAR file.
|
protected String |
facadeFileNameAndType(DeploymentContext dc)
Returns the file name (and type) for the facade, excluding any
directory information.
|
URI |
facadeServerURI(DeploymentContext dc)
Returns the URI to the server's copy of the facade JAR file.
|
URI |
facadeUserURI(DeploymentContext dc)
Returns the URI for the facade JAR, relative to the download
directory to which the user will fetch the relevant JARs (either
as part of "deploy --retrieve" or "get-client-stubs."
|
FixedContent |
fixedContentWithinEAR(String uriString)
Returns a FixedContent object for the file, within the EAR, at the
specified relative location.
|
URI |
groupFacadeServerURI(DeploymentContext dc) |
URI |
groupFacadeUserURI(DeploymentContext dc)
Returns the URI for the group facade JAR, relative to the download
directory to which the user will fetch the relevant JARs (either
as part of "deploy --retrieve" or "get-client-stubs."
|
String |
pathToAppclientWithinApp(DeploymentContext dc)
Returns the relative path to the app client within the enclosing app.
|
protected void |
prepareJARs() |
protected String |
PUScanTargets() |
File |
rootForSignedFilesInApp()
Returns the root directory for signed files in the applications.
|
ApplicationSignedJARManager |
signedJARManager() |
Map<String,Map<URI,StaticContent>> |
signingAliasToJar() |
URI |
URIWithinAppDir(DeploymentContext dc,
URI absoluteURI)
Returns a relative URI within the app directory for the specified
absolute URI.
|
appClientDesc, appName, appName, clientName, dc, generateAppClientFacade, openByteCodeStream, relativeURIToGroupFacadeprotected void prepareJARs()
throws IOException,
URISyntaxException
prepareJARs in class AppClientDeployerHelperIOExceptionURISyntaxExceptionprotected void addTopLevelContentToClientFacade(OutputJarArchive facadeArchive) throws IOException
addTopLevelContentToClientFacade in class AppClientDeployerHelperIOExceptionpublic FixedContent fixedContentWithinEAR(String uriString)
AppClientDeployerHelperfixedContentWithinEAR in class AppClientDeployerHelperuriString - relative path within the EARpublic String appLibraryExtensions()
public Map<String,Map<URI,StaticContent>> signingAliasToJar()
signingAliasToJar in class AppClientDeployerHelperpublic void createAndAddLibraryJNLPs(AppClientDeployerHelper helper, TokenHelper tHelper, Map<String,DynamicContent> dynamicContent) throws IOException
createAndAddLibraryJNLPs in class AppClientDeployerHelperIOExceptionpublic Set<Artifacts.FullAndPartURIs> earLevelDownloads()
earLevelDownloads in class AppClientDeployerHelperpublic File rootForSignedFilesInApp()
AppClientDeployerHelperrootForSignedFilesInApp in class AppClientDeployerHelperpublic ApplicationSignedJARManager signedJARManager()
signedJARManager in class AppClientDeployerHelperprotected void copyFileToTopLevelJAR(OutputJarArchive clientFacadeArchive, File f, String path) throws IOException
copyFileToTopLevelJAR in class AppClientDeployerHelperclientFacadeArchive - - ignored for nested app clientsIOExceptionprotected void addClientPolicyFiles(OutputJarArchive clientFacadeArchive) throws IOException
AppClientDeployerHelperFor a stand-alone client (not in an EAR) this implementation adds the policy files to the generated app client facade JAR.
addClientPolicyFiles in class AppClientDeployerHelperclientFacadeArchive - the generated app client facade JARIOExceptionpublic URI facadeServerURI(DeploymentContext dc)
AppClientDeployerHelperfacadeServerURI in class AppClientDeployerHelperdc - the deployment context for the current deploymentprotected Set<Artifacts.FullAndPartURIs> clientLevelDownloads() throws IOException
clientLevelDownloads in class AppClientDeployerHelperIOExceptionprotected String facadeClassPath()
AppClientDeployerHelperfacadeClassPath in class AppClientDeployerHelperprotected String PUScanTargets()
PUScanTargets in class AppClientDeployerHelperpublic URI facadeUserURI(DeploymentContext dc)
AppClientDeployerHelperfacadeUserURI in class AppClientDeployerHelperdc - the deployment context for the current deploymentpublic URI groupFacadeUserURI(DeploymentContext dc)
AppClientDeployerHelpergroupFacadeUserURI in class AppClientDeployerHelperdc - the deployment context for the current deploymentpublic URI groupFacadeServerURI(DeploymentContext dc)
groupFacadeServerURI in class AppClientDeployerHelperprotected String facadeFileNameAndType(DeploymentContext dc)
AppClientDeployerHelperfacadeFileNameAndType in class AppClientDeployerHelperdc - the deployment context for the current deploymentpublic URI appClientUserURI(DeploymentContext dc)
AppClientDeployerHelperappClientUserURI in class AppClientDeployerHelperpublic URI appClientUserURIForFacade(DeploymentContext dc)
AppClientDeployerHelperappClientUserURIForFacade in class AppClientDeployerHelperpublic URI appClientServerURI(DeploymentContext dc)
AppClientDeployerHelperappClientServerURI in class AppClientDeployerHelperpublic URI appClientServerOriginalAnchor(DeploymentContext dc)
AppClientDeployerHelperThis is distinct from the appClientServerURI which could be in the generated directory (in the case of a directory deployment, for example). In some cases we need the original location of the app client on the server (for example, to resolve relative references from the app client JAR's manifest Class-Path).
appClientServerOriginalAnchor in class AppClientDeployerHelperpublic URI appClientURIWithinApp(DeploymentContext dc)
AppClientDeployerHelperappClientURIWithinApp in class AppClientDeployerHelperpublic URI URIWithinAppDir(DeploymentContext dc, URI absoluteURI)
AppClientDeployerHelperURIWithinAppDir in class AppClientDeployerHelperpublic String pathToAppclientWithinApp(DeploymentContext dc)
AppClientDeployerHelperpathToAppclientWithinApp in class AppClientDeployerHelperCopyright © 2017. All rights reserved.