com.caucho.ejb.cfg
Class EjbBeanConfigProxy

java.lang.Object
  extended by com.caucho.ejb.cfg.EjbBeanConfigProxy
All Implemented Interfaces:
DependencyBean
Direct Known Subclasses:
EjbMessageConfigProxy, EjbSessionConfigProxy

public class EjbBeanConfigProxy
extends java.lang.Object
implements DependencyBean

Proxy for an ejb bean configuration. This proxy is needed to handle the merging of ejb definitions.


Constructor Summary
EjbBeanConfigProxy(EjbConfig config, java.lang.String ejbModuleName)
          Creates a new entity bean configuration.
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
          Adds to the builder program.
 void addDependency(PersistentDependency depend)
          Add a dependency.
 EjbBean getBean()
          Returns the entity config.
 ConfigProgram getBuilderProgram()
          Returns the program.
 EjbConfig getConfig()
          Returns the configuration.
 java.util.ArrayList<PersistentDependency> getDependencyList()
          Gets the depend list.
 java.lang.String getEJBModuleName()
           
 java.lang.String getEJBName()
          Gets the ejbName
 java.lang.String getFilename()
          Gets the filename
 java.lang.String getLocation()
          Gets the location
 void init()
          Initializes and configures the entity bean.
 void setConfigLocation(java.lang.String filename, int line)
          Sets the location
 void setEJBName(java.lang.String ejbName)
          Sets the ejbName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbBeanConfigProxy

public EjbBeanConfigProxy(EjbConfig config,
                          java.lang.String ejbModuleName)
Creates a new entity bean configuration.

Method Detail

getConfig

public EjbConfig getConfig()
Returns the configuration.


getEJBModuleName

public java.lang.String getEJBModuleName()

setConfigLocation

public void setConfigLocation(java.lang.String filename,
                              int line)
Sets the location


getLocation

public java.lang.String getLocation()
Gets the location


getFilename

public java.lang.String getFilename()
Gets the filename


setEJBName

public void setEJBName(java.lang.String ejbName)
Sets the ejbName


getEJBName

public java.lang.String getEJBName()
Gets the ejbName


addDependency

public void addDependency(PersistentDependency depend)
Add a dependency.

Specified by:
addDependency in interface DependencyBean

getDependencyList

public java.util.ArrayList<PersistentDependency> getDependencyList()
Gets the depend list.


addBuilderProgram

public void addBuilderProgram(ConfigProgram program)
Adds to the builder program.


getBuilderProgram

public ConfigProgram getBuilderProgram()
Returns the program.


init

public void init()
          throws java.lang.Throwable
Initializes and configures the entity bean.

Throws:
java.lang.Throwable

getBean

public EjbBean getBean()
Returns the entity config.