Methods Summary |
---|
public void | addNestedOrigin(AppclientContentOrigin origin)Adds an origin representing an embedded app client to the application's
origin.
appclientOrigins.add(origin);
|
public java.lang.String | getAppclientJarPath()Returns the path, within the virtual namespace provided by the JWS system
servlet, where the app client jar file for this application resides.
return NamingConventions.TopLevelApplication.appclientJarPath(this);
|
public java.util.Vector | getAppclientOrigins()Returns the embedded app client origins.
return appclientOrigins;
|
public java.lang.String | getContentKeyPrefix()Reports the prefix for the content key for all content related to this origin.
The content key is used as the key when content is stored in any of the maps
return NamingConventions.TopLevelApplication.contentKeyPrefix(this);
|
public java.lang.String | getContextRoot()Returns the context root for this origin, as specified by the developer
of the app client or (if missing) as defaulted by us during loading.
return NamingConventions.TopLevelApplication.contextRoot(application);
|
public boolean | isEnabled()Returns whether this content origin's appclient is enabled for Java
Web Start access.
try {
return AppclientJWSSupportInfo.getInstance().isEnabled(this);
} catch (IOException ioe) {
/*
*An IOException can occur if some infrastructure objects cannot be
*located in obtaining the instance. Very unlikely and also logged elsewhere.
*/
return false;
} catch (Exception e) {
throw new RuntimeException(e);
}
|
public boolean | removeNestedOrigin(AppclientContentOrigin origin)Removes the specified child origin and reports if it was present
return appclientOrigins.remove(origin);
|
public java.lang.String | toString()
StringBuilder sb = new StringBuilder(super.toString());
for (AppclientContentOrigin child : appclientOrigins) {
sb.append(lineSep).append(" ").append(child.toString());
}
return sb.toString();
|