|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.vendor.WebContainerInjectionProvider
public class WebContainerInjectionProvider
This InjectionProvider
will be used if the
PostConstruct
and PreDestroy
annotations
are present, but no specific InjectionProvider
has
been configured.
It's important to note that this will not provide resource injection.
Constructor Summary | |
---|---|
WebContainerInjectionProvider()
|
Method Summary | |
---|---|
void |
inject(java.lang.Object managedBean)
The implementation of this method must perform the following steps: Inject the supported resources per the Servlet 2.5 specification into the provided object |
void |
invokePostConstruct(java.lang.Object managedBean)
The implemenation of this method must invoke any method marked with the @PostConstruct annotation
(per the Common Annotations Specification). |
void |
invokePreDestroy(java.lang.Object managedBean)
The implemenation of this method must invoke any method marked with the @PreDestroy annotation
(per the Common Annotations Specification). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebContainerInjectionProvider()
Method Detail |
---|
public void inject(java.lang.Object managedBean) throws InjectionProviderException
InjectionProvider
The implementation of this method must perform the following steps:
This method must not invoke any methods
annotated with @PostConstruct
inject
in interface InjectionProvider
managedBean
- the target managed bean
InjectionProviderException
- if an error occurs during
resource injectionpublic void invokePreDestroy(java.lang.Object managedBean) throws InjectionProviderException
InjectionProvider
The implemenation of this method must invoke any
method marked with the @PreDestroy
annotation
(per the Common Annotations Specification).
invokePreDestroy
in interface InjectionProvider
managedBean
- the target managed bean
InjectionProviderException
- if an error occurs when invoking
the method annotated by the @PreDestroy
annotationpublic void invokePostConstruct(java.lang.Object managedBean) throws InjectionProviderException
InjectionProvider
The implemenation of this method must invoke any
method marked with the @PostConstruct
annotation
(per the Common Annotations Specification).
invokePostConstruct
in interface InjectionProvider
managedBean
- the target managed bean
InjectionProviderException
- if an error occurs when invoking
the method annotated by the @PostConstruct
annotation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |