Package javax.enterprise.inject.spi
Interface InjectionTarget<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
inject(T instance, CreationalContext<T> ctx)
Performs dependency injection upon the given object.void
postConstruct(T instance)
CallsPostConstruct
callback method if exists.void
preDestroy(T instance)
CallsPreDestroy
callback method if exists.-
Methods inherited from interface javax.enterprise.inject.spi.Producer
dispose, getInjectionPoints, produce
-
-
-
-
Method Detail
-
inject
void inject(T instance, CreationalContext<T> ctx)
Performs dependency injection upon the given object.- Parameters:
instance
- bean instancectx
- creational context
-
postConstruct
void postConstruct(T instance)
CallsPostConstruct
callback method if exists.- Parameters:
instance
- bean instance
-
preDestroy
void preDestroy(T instance)
CallsPreDestroy
callback method if exists.- Parameters:
instance
- bean instance
-
-