org.apache.openejb.jee.was.v6.common
Class EJBLocalRef

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.common.EjbRef
      extended by org.apache.openejb.jee.was.v6.common.EJBLocalRef

public class EJBLocalRef
extends EjbRef

Since:
J2EE1.3 The ejb-local-refType is used by ejb-local-ref elements for the declaration of a reference to an enterprise bean's local home. The declaration consists of: - an optional description - the EJB reference name used in the code of the Deployment Component that's referencing the enterprise bean - the expected type of the referenced enterprise bean - the expected local home and local interfaces of the referenced enterprise bean - optional ejb-link information, used to specify the referenced enterprise bean

Java class for EJBLocalRef complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="EJBLocalRef">
   <complexContent>
     <extension base="{common.xmi}EjbRef">
       <attribute name="local" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="localHome" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

Field Summary
protected  String local
           
protected  String localHome
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.common.EjbRef
description, descriptions, ejbRefType, extensions, home, href, id, idref, label, link, name, remote, type, uuid, version
 
Constructor Summary
EJBLocalRef()
           
 
Method Summary
 String getLocal()
          Gets the value of the local property.
 String getLocalHome()
          Gets the value of the localHome property.
 void setLocal(String value)
          Sets the value of the local property.
 void setLocalHome(String value)
          Sets the value of the localHome property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.common.EjbRef
getDescription, getDescriptions, getEjbRefType, getExtensions, getHome, getHref, getId, getIdref, getLabel, getLink, getName, getRemote, getType, getUuid, getVersion, setDescription, setEjbRefType, setHome, setHref, setId, setIdref, setLabel, setLink, setName, setRemote, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

local

protected String local

localHome

protected String localHome
Constructor Detail

EJBLocalRef

public EJBLocalRef()
Method Detail

getLocal

public String getLocal()
Gets the value of the local property.

Returns:
possible object is String

setLocal

public void setLocal(String value)
Sets the value of the local property.

Parameters:
value - allowed object is String

getLocalHome

public String getLocalHome()
Gets the value of the localHome property.

Returns:
possible object is String

setLocalHome

public void setLocalHome(String value)
Sets the value of the localHome property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.