FileDocCategorySizeDatePackage
ContextLocalEjb.javaAPI DocGlassfish v2 API5230Fri May 04 22:32:08 BST 2007org.apache.catalina.deploy

ContextLocalEjb

public class ContextLocalEjb extends Object implements Serializable
Representation of a local EJB resource reference for a web application, as represented in a <ejb-local-ref> element in the deployment descriptor.
author
Craig R. McClanahan
version
$Revision: 1.3 $ $Date: 2007/05/05 05:32:08 $

Fields Summary
private String
description
The description of this EJB.
private String
home
The name of the EJB home implementation class.
private String
link
The link to a J2EE EJB definition.
private String
local
The name of the EJB local implementation class.
private String
name
The name of this EJB.
private String
type
The name of the EJB bean implementation class.
protected NamingResources
resources
The NamingResources with which we are associated (if any).
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()


       
        return (this.description);
    
public java.lang.StringgetHome()


       
        return (this.home);
    
public java.lang.StringgetLink()


       
        return (this.link);
    
public java.lang.StringgetLocal()


       
        return (this.local);
    
public java.lang.StringgetName()


       
        return (this.name);
    
public NamingResourcesgetNamingResources()


       
        return (this.resources);
    
public java.lang.StringgetType()


       
        return (this.type);
    
public voidsetDescription(java.lang.String description)

        this.description = description;
    
public voidsetHome(java.lang.String home)

        this.home = home;
    
public voidsetLink(java.lang.String link)

        this.link = link;
    
public voidsetLocal(java.lang.String local)

        this.local = local;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
voidsetNamingResources(NamingResources resources)

        this.resources = resources;
    
public voidsetType(java.lang.String type)

        this.type = type;
    
public java.lang.StringtoString()
Return a String representation of this object.


        StringBuffer sb = new StringBuffer("ContextLocalEjb[");
        sb.append("name=");
        sb.append(name);
        if (description != null) {
            sb.append(", description=");
            sb.append(description);
        }
        if (type != null) {
            sb.append(", type=");
            sb.append(type);
        }
        if (home != null) {
            sb.append(", home=");
            sb.append(home);
        }
        if (link != null) {
            sb.append(", link=");
            sb.append(link);
        }
        if (local != null) {
            sb.append(", local=");
            sb.append(local);
        }
        sb.append("]");
        return (sb.toString());