@Module public class PostConstructProgram extends ConfigProgram
| Constructor and Description |
|---|
PostConstructProgram(AnnotatedMethod<?> annMethod,
java.lang.reflect.Method init) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
AnnotatedMethod<?> |
getAnnotatedMethod() |
java.lang.Class<?> |
getDeclaringClass()
Returns the declaring class.
|
java.lang.String |
getName()
Returns the name.
|
int |
hashCode() |
<T> void |
inject(T bean,
CreationalContext<T> env)
Configures the bean using the current program.
|
protected void |
introspect() |
java.lang.String |
toString() |
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getPriority, getQName, initpublic PostConstructProgram(AnnotatedMethod<?> annMethod, java.lang.reflect.Method init)
public java.lang.Class<?> getDeclaringClass()
ConfigProgramgetDeclaringClass in class ConfigProgrampublic java.lang.String getName()
ConfigProgramgetName in class ConfigProgrampublic AnnotatedMethod<?> getAnnotatedMethod()
protected void introspect()
public <T> void inject(T bean,
CreationalContext<T> env)
throws ConfigException
ConfigPrograminject in class ConfigProgrambean - the bean to configureConfigExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object