public class OmniExternalContextFactory extends ExternalContextFactory
OmniExternalContext
is properly initialized.OmniExternalContext
Constructor and Description |
---|
OmniExternalContextFactory(ExternalContextFactory wrapped)
Construct a new OmniFaces external context factory around the given wrapped factory.
|
Modifier and Type | Method and Description |
---|---|
ExternalContext |
getExternalContext(Object context,
Object request,
Object response)
Returns a new instance of
OmniExternalContext which wraps the original external context. |
ExternalContextFactory |
getWrapped()
Returns the wrapped factory.
|
public OmniExternalContextFactory(ExternalContextFactory wrapped)
wrapped
- The wrapped factory.public ExternalContext getExternalContext(Object context, Object request, Object response) throws FacesException
OmniExternalContext
which wraps the original external context.getExternalContext
in class ExternalContextFactory
FacesException
public ExternalContextFactory getWrapped()
getWrapped
in interface FacesWrapper<ExternalContextFactory>
getWrapped
in class ExternalContextFactory
Copyright © 2012–2015 OmniFaces. All rights reserved.