Methods Summary |
---|
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 app client resides.
return NamingConventions.TopLevelAppclient.appclientJarPath(this);
|
protected java.lang.String | getContentKeyPrefix()
return NamingConventions.TopLevelAppclient.contentKeyPrefix(this);
|
public java.lang.String | getContextRoot()Returns the origin's context root.
return contextRoot;
|
public java.lang.String | getDescription()Returns the descriptor for the app client.
return getApplication().getDescription();
|
public java.lang.String | getDisplayName()Returns the display name for the app client.
return moduleDescriptor.getDescriptor().getDisplayName();
|
public java.lang.String | getImageURI()
return getVendorInfo().getImageURI();
|
public java.lang.String | getName()
return application.getRegistrationName();
|
public java.lang.String | getSplashImageURI()
return getVendorInfo().getSplashImageURI();
|
protected java.lang.String | getTargetPath()Returns the path to which requests for the virtual path for this origin
should be dispatched so they can be served by the system servlet.
return NamingConventions.TopLevelAppclient.actualContextRoot(application);
|
public java.lang.String | getVendor()
return getVendorInfo().getVendor();
|
private com.sun.enterprise.appclient.jws.AppclientContentOrigin$VendorInfo | getVendorInfo()
if (vendorInfo == null) {
vendorInfo = new VendorInfo(((ApplicationClientDescriptor)
(moduleDescriptor.getDescriptor())).getJavaWebStartAccessDescriptor().getVendor());
}
return vendorInfo;
|
public java.lang.String | getVirtualPath()Returns the virtual path users can use to refer to the app client from
this origin. If the developer did not specify one, the default path
is returned.
return NamingConventions.TopLevelAppclient.virtualContextRoot(application, moduleDescriptor);
|
public java.io.File | locateFile(com.sun.enterprise.instance.BaseManager manager, java.lang.String URI)Returns a File object for the actual File in the app's directory corresponding
to the specified URI.
This implementation covers the top-level app client case and is overridden
by an implementation for a nested app client.
File file = new File(manager.getLocation(getApplication().getRegistrationName()), URI);
return file;
|
public java.lang.String | toString()
return super.toString() + ", context root=" + getVirtualPath() + ", module name=" + moduleDescriptor.getName();
|