FileDocCategorySizeDatePackage
ContextLocalEjb.javaAPI DocApache Tomcat 6.0.143142Fri Jul 20 04:20:36 BST 2007org.apache.catalina.deploy

ContextLocalEjb

public class ContextLocalEjb extends ResourceBase 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
author
Peter Rossbach (pero@apache.org)
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
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.
Constructors Summary
Methods Summary
public java.lang.StringgetHome()


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


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


       
        return (this.local);
    
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 java.lang.StringtoString()
Return a String representation of this object.


        StringBuffer sb = new StringBuffer("ContextLocalEjb[");
        sb.append("name=");
        sb.append(getName());
        if (getDescription() != null) {
            sb.append(", description=");
            sb.append(getDescription());
        }
        if (getType() != null) {
            sb.append(", type=");
            sb.append(getType());
        }
        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());