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. |
ApplicationFactory |
getWrapped()
Returns the wrapped factory.
|
void |
setApplication(Application application)
Sets the given application instance as the current instance.
|
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
public ApplicationFactory getWrapped()
getWrapped
in interface FacesWrapper<ApplicationFactory>
getWrapped
in class ApplicationFactory
Copyright © 2012–2017 OmniFaces. All rights reserved.