com.caucho.config.cfg
Class AbstractBeanConfig

java.lang.Object
  extended by com.caucho.config.cfg.AbstractBeanConfig
Direct Known Subclasses:
BamServiceConfig, JavaMailConfig, MessageBeanConfig, StatefulBeanConfig, StatelessBeanConfig

public abstract class AbstractBeanConfig
extends java.lang.Object

Backwards compatibility class for 3.1-style <jms-queue>, etc.


Constructor Summary
protected AbstractBeanConfig()
           
 
Method Summary
 void add(java.lang.annotation.Annotation binding)
          Adds a component binding.
 void addBinding(java.lang.annotation.Annotation binding)
          Adds a component binding.
protected
<X> AnnotatedTypeImpl<X>
buildAnnotatedType()
           
protected
<X> void
deploy()
           
 java.lang.String getFilename()
           
 ContainerProgram getInit()
          Sets the init program.
 java.lang.Class<?> getInstanceClass()
          Returns the instance class
 java.lang.String getJndiName()
          Gets the component's EL binding name.
 int getLine()
           
 java.lang.String getName()
          Gets the component's EL binding name.
 void init()
           
protected  void initImpl()
           
protected  java.lang.Object replaceObject()
           
 void setClass(java.lang.Class<?> cl)
          Assigns the class
 void setConfigLocation(java.lang.String filename, int line)
          Sets the configuration location
 void setInit(ContainerProgram init)
          Sets the init program.
 void setJndiName(java.lang.String name)
          Returns the component's EL binding name.
 void setName(java.lang.String name)
          Returns the component's EL binding name.
 void setScope(java.lang.String scope)
          Sets the scope attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBeanConfig

protected AbstractBeanConfig()
Method Detail

setConfigLocation

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


getFilename

public java.lang.String getFilename()

getLine

public int getLine()

setName

public void setName(java.lang.String name)
Returns the component's EL binding name.


getName

public java.lang.String getName()
Gets the component's EL binding name.


setJndiName

public void setJndiName(java.lang.String name)
Returns the component's EL binding name.


getJndiName

public java.lang.String getJndiName()
Gets the component's EL binding name.


setClass

public void setClass(java.lang.Class<?> cl)
Assigns the class


getInstanceClass

public java.lang.Class<?> getInstanceClass()
Returns the instance class


addBinding

public void addBinding(java.lang.annotation.Annotation binding)
Adds a component binding.


add

public void add(java.lang.annotation.Annotation binding)
Adds a component binding.


setScope

public void setScope(java.lang.String scope)
Sets the scope attribute.


setInit

public void setInit(ContainerProgram init)
Sets the init program.


getInit

public ContainerProgram getInit()
Sets the init program.


initImpl

protected void initImpl()

init

@PostConstruct
public final void init()

deploy

protected <X> void deploy()

buildAnnotatedType

protected <X> AnnotatedTypeImpl<X> buildAnnotatedType()

replaceObject

protected java.lang.Object replaceObject()