com.caucho.config.j2ee
Class PostConstructProgram
java.lang.Object
com.caucho.config.program.ConfigProgram
com.caucho.config.j2ee.PostConstructProgram
- All Implemented Interfaces:
- java.lang.Comparable<ConfigProgram>
@Module
public class PostConstructProgram
- extends ConfigProgram
Methods inherited from class com.caucho.config.program.ConfigProgram |
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getPriority, getQName, init |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PostConstructProgram
public PostConstructProgram(AnnotatedMethod<?> annMethod,
java.lang.reflect.Method init)
getDeclaringClass
public java.lang.Class<?> getDeclaringClass()
- Description copied from class:
ConfigProgram
- Returns the declaring class.
- Overrides:
getDeclaringClass
in class ConfigProgram
getName
public java.lang.String getName()
- Description copied from class:
ConfigProgram
- Returns the name.
- Overrides:
getName
in class ConfigProgram
getAnnotatedMethod
public AnnotatedMethod<?> getAnnotatedMethod()
introspect
protected void introspect()
inject
public <T> void inject(T bean,
CreationalContext<T> env)
throws ConfigException
- Description copied from class:
ConfigProgram
- Configures the bean using the current program.
- Specified by:
inject
in class ConfigProgram
- Parameters:
bean
- the bean to configure
- Throws:
ConfigException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object