Methods Summary |
---|
public java.lang.String | getAppclientJarPath()This method should not be called. To prevent the superclass's method
from gaining control in case of an inadvertent invocation, throw an
exception.
throw new RuntimeException("Unexpected invocation");
|
public java.lang.String | getContentKeyPrefix()Returns the prefix for the content map key that is common to all content from this origin.
return NamingConventions.NestedAppclient.contentKeyPrefix(this);
|
public java.lang.String | getName()Returns the unique name for this embedded app client within its containing application.
return name;
|
public ApplicationContentOrigin | getParent()Returns the parent origin of this nested app client origin.
return parent;
|
protected java.lang.String | getTargetPath()
return NamingConventions.NestedAppclient.actualContextRoot(this);
|
public java.lang.String | getTopLevelRegistrationName()Returns the registration name for the top-level module associated with this
nested app client.
This method is primarily used to get a name to use in checking whether
the relevant module has been enabled or disabled for Java Web Start access.
This implementation returns the name from the parent, whereas top-level
app clients return their own reg. name.
return parent.getApplication().getRegistrationName();
|
public java.lang.String | getVirtualPath()
return NamingConventions.NestedAppclient.virtualContextRoot(parent.application, moduleDescriptor);
|
public boolean | isEnabled()Returns whether this nested app client's parent application is currently
enabled for Java Web Start access.
return parent.isEnabled();
|
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.
File dir = new File(manager.getLocation(getApplication().getRegistrationName()),
FileUtils.makeFriendlyFileName(moduleDescriptor.getArchiveUri()));
return new File (dir, URI);
|
public java.lang.String | toString()
return super.toString() + lineSep + ", parent=" + getTopLevelRegistrationName();
|