@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, init
public PostConstructProgram(AnnotatedMethod<?> annMethod, java.lang.reflect.Method init)
public java.lang.Class<?> getDeclaringClass()
ConfigProgram
getDeclaringClass
in class ConfigProgram
public java.lang.String getName()
ConfigProgram
getName
in class ConfigProgram
public AnnotatedMethod<?> getAnnotatedMethod()
protected void introspect()
public <T> void inject(T bean, CreationalContext<T> env) throws ConfigException
ConfigProgram
inject
in class ConfigProgram
bean
- the bean to configureConfigException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object