FileDocCategorySizeDatePackage
CustomResource.javaAPI DocGlassfish v2 API3106Fri May 04 22:35:10 BST 2007com.sun.enterprise.repository

CustomResource

public class CustomResource extends J2EEResourceBase implements Serializable
Resource info for CustomResourcel. IASRI #4626188
author
Sridatta Viswanath

Fields Summary
private String
resType_
private String
factoryClass_
Constructors Summary
public CustomResource(String name)

        super(name);
    
Methods Summary
protected J2EEResourcedoClone(java.lang.String name)

        CustomResource clone = new CustomResource(name);
        clone.setResType(getResType());
        clone.setFactoryClass(getFactoryClass());
        return clone;
    
public java.lang.StringgetFactoryClass()

        return factoryClass_;
    
public java.lang.StringgetResType()

        return resType_;
    
public intgetType()

        return J2EEResource.CUSTOM_RESOURCE;
    
public voidsetFactoryClass(java.lang.String factoryClass)

        factoryClass_ = factoryClass;
    
public voidsetResType(java.lang.String resType)

        resType_ = resType;
    
public java.lang.StringtoString()

        return "< Custom Resource : " + getName() + " , " + getResType() + "... >";