public class OmniApplicationFactory extends ApplicationFactory
OmniApplication
is properly initialized.OmniApplication
Constructor and Description |
---|
OmniApplicationFactory(ApplicationFactory wrapped)
Construct a new OmniFaces application factory around the given wrapped factory.
|
Modifier and Type | Method and Description |
---|---|
Application |
getApplication()
Returns an instance of
OmniApplication which wraps the original application. |
void |
setApplication(Application application)
Sets the given application instance as the current instance.
|
getWrapped
public OmniApplicationFactory(ApplicationFactory wrapped)
wrapped
- The wrapped factory.public Application getApplication()
OmniApplication
which wraps the original application.getApplication
in class ApplicationFactory
public void setApplication(Application application)
OmniApplication
,
nor wraps the OmniApplication
, then it will be wrapped by a new instance of OmniApplication
.setApplication
in class ApplicationFactory
Copyright © 2012–2022 OmniFaces. All rights reserved.