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, EjbJar jar, 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.
 void configure()
           
 ConfigProgram getBuilderProgram()
          Returns the program.
 EjbConfig getConfig()
          Returns the configuration.
 java.util.ArrayList<PersistentDependency> getDependencyList()
          Gets the depend list.
 java.lang.Class<?> getEjbClass()
          Gets the ejb-class
 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.
 boolean isSkip()
           
 void setConfigLocation(java.lang.String filename, int line)
          Sets the location
 void setEjbClass(java.lang.Class<?> ejbClass)
          Sets the ejb-class
 void setEjbName(java.lang.String ejbName)
          Sets the ejbName
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbBeanConfigProxy

public EjbBeanConfigProxy(EjbConfig config,
                          EjbJar jar,
                          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


setEjbClass

public void setEjbClass(java.lang.Class<?> ejbClass)
Sets the ejb-class


getEjbClass

public java.lang.Class<?> getEjbClass()
Gets the ejb-class


isSkip

public boolean isSkip()

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

@PostConstruct
public void init()
Initializes and configures the entity bean.


configure

public void configure()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object