Class TokenHelper
- java.lang.Object
-
- org.glassfish.appclient.server.core.jws.servedcontent.TokenHelper
-
- Direct Known Subclasses:
NestedClientTokenHelper
,StandAloneClientTokenHelper
public abstract class TokenHelper extends Object
- Author:
- tjquinn
-
-
Field Summary
Fields Modifier and Type Field Description protected AppClientDeployerHelper
dHelper
-
Constructor Summary
Constructors Modifier Constructor Description protected
TokenHelper(AppClientDeployerHelper dHelper)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
agentJar()
protected abstract String
anchorSubpath()
Returns the relative path from the app's context root to its anchor.String
appCodebasePath()
abstract String
appLibraryExtensions()
String
clientFacadeJARPath()
String
clientFacadeJNLP()
String
clientJNLP()
protected AppClientDeployerHelper
dHelper()
String
dyn()
String
imageURIFromDescriptor()
String
mainJNLP()
static TokenHelper
newInstance(AppClientDeployerHelper dHelper, JavaWebStartInfo.VendorInfo vendorInfo)
Object
setProperty(String propName, String propValue)
String
splashScreenURIFromDescriptor()
String
systemContextRoot()
String
systemJNLP()
Properties
tokens()
-
-
-
Field Detail
-
dHelper
protected final AppClientDeployerHelper dHelper
-
-
Constructor Detail
-
TokenHelper
protected TokenHelper(AppClientDeployerHelper dHelper)
-
-
Method Detail
-
newInstance
public static TokenHelper newInstance(AppClientDeployerHelper dHelper, JavaWebStartInfo.VendorInfo vendorInfo)
-
tokens
public Properties tokens()
-
imageURIFromDescriptor
public String imageURIFromDescriptor()
-
splashScreenURIFromDescriptor
public String splashScreenURIFromDescriptor()
-
appCodebasePath
public String appCodebasePath()
-
systemContextRoot
public String systemContextRoot()
-
agentJar
public String agentJar()
-
systemJNLP
public String systemJNLP()
-
appLibraryExtensions
public abstract String appLibraryExtensions()
-
anchorSubpath
protected abstract String anchorSubpath()
Returns the relative path from the app's context root to its anchor. For example, for a stand-alone client the anchor is the same place as the context root; that is where its facade and client JAR reside. For a nested app client, the anchor is the subdirectory ${clientName}Client.- Returns:
-
mainJNLP
public String mainJNLP()
-
clientJNLP
public String clientJNLP()
-
clientFacadeJNLP
public String clientFacadeJNLP()
-
dyn
public String dyn()
-
dHelper
protected AppClientDeployerHelper dHelper()
-
clientFacadeJARPath
public String clientFacadeJARPath()
-
-