|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stvconsultants.easygloss.javaee.GlossInjectionProvider
public class GlossInjectionProvider
An implementation of Java Server Faces 1.2 InjectionProvider in order to support testing JSF applications.
| Constructor Summary | |
|---|---|
GlossInjectionProvider()
|
|
| Method Summary | |
|---|---|
static void |
clearInjection()
Removes all gloss from injection. |
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 Inoke 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). |
static void |
setInjection(JavaEEGloss gloss)
Sets a new gloss to apply. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlossInjectionProvider()
| Method Detail |
|---|
public void inject(java.lang.Object managedBean)
throws InjectionProviderException
The implementation of this method must perform the following steps:
@PostConstruct
annotation (per the Common Annotations Specification)
inject in interface InjectionProvidermanagedBean - the target managed bean
InjectionProviderException - if an error occurs during
resource injection
public void invokePreDestroy(java.lang.Object managedBean)
throws InjectionProviderException
The implemenation of this method must invoke any
method marked with the @PreDestroy annotation
(per the Common Annotations Specification).
invokePreDestroy in interface InjectionProvidermanagedBean - the target managed bean
InjectionProviderException - if an error occurs when invoking
the method annotated by the @PreDestroy annotationpublic static void clearInjection()
public static void setInjection(JavaEEGloss gloss)
gloss - the new gloss to apply.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||