FileDocCategorySizeDatePackage
AppserverContentOrigin.javaAPI DocGlassfish v2 API3291Fri May 04 22:34:12 BST 2007com.sun.enterprise.appclient.jws

AppserverContentOrigin

public class AppserverContentOrigin extends ContentOrigin
Records information about fixed files installed with the app server that are to be served to Java Web Start.
author
tjquinn

Fields Summary
private String
category
private String
subcategory
Constructors Summary
public AppserverContentOrigin(String category, String subcategory)

        super();
        this.category = category;
        this.subcategory = subcategory;
    
Methods Summary
public java.lang.StringgetCategory()

        return category;
    
public java.lang.StringgetContentKeyPrefix()

        String result = NamingConventions.Appserver.contentKeyPrefix(this);
        return result;
    
public java.lang.StringgetSubcategory()

        return subcategory;
    
public booleanisEnabled()
Returns whether this appserver content origin is currently enabled.

App server content is always enabled, so this always returns true.

return
whether this appserver content origin is enabled (always true)

        return true;
    
public java.lang.StringtoString()

        StringBuilder sb = new StringBuilder(super.toString());
        return sb.append(", category=").append(category).append(", subcategory=").append(subcategory).toString();