javax.faces.application.ApplicationFactory is responsible for injecting the default
Application instance into the top-level Application as configured by the runtime.
Doing this allows us to preserve backwards compatibility as the API evolves without having the
API rely on implementation specific details.
| Modifier and Type | Field and Description |
|---|---|
| private volatile Application | |
| private Application | |
| private Field | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Application | getApplication()
Implements abstract javax.
Create (if needed) and return an |
| private void | |
| pack-priv static Application | |
| public synchronized void | setApplication(Application
The replacement application)Application instanceImplements abstract javax.
Replace the |
| pack-priv static void |
| application | back to summary |
|---|---|
| private volatile Application application | |
| defaultApplication | back to summary |
|---|---|
| private Application defaultApplication | |
| defaultApplicationField | back to summary |
|---|---|
| private Field defaultApplicationField | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| InjectionApplicationFactory | back to summary |
|---|---|
| public InjectionApplicationFactory(ApplicationFactory delegate) | |
| getApplication | back to summary |
|---|---|
| public Application getApplication() Implements abstract javax. Doc from javax.
Create (if needed) and return an
| |
| injectDefaultApplication | back to summary |
|---|---|
| private void injectDefaultApplication() | |
| removeApplicationInstance | back to summary |
|---|---|
| pack-priv static Application removeApplicationInstance(Map<String, Object> appMap) | |
| setApplication | back to summary |
|---|---|
| public synchronized void setApplication(Application application) Implements abstract javax. Doc from javax.
Replace the
| |
| setApplicationInstance | back to summary |
|---|---|
| pack-priv static void setApplicationInstance(Application app) | |