Package jakarta.faces

Interface FacesWrapper<T>

Type Parameters:
T - the wrapped type.
All Known Implementing Classes:
ActionListenerWrapper, AjaxExceptionHandlerImpl, AjaxNoAjaxExceptionHandler, ApplicationFactory, ApplicationFactoryImpl, ApplicationWrapper, ClientWindowFactory, ClientWindowFactoryImpl, ClientWindowWrapper, ConfigurableNavigationHandlerWrapper, ExceptionHandlerFactory, ExceptionHandlerFactoryImpl, ExceptionHandlerWrapper, ExternalContextFactory, ExternalContextFactoryImpl, ExternalContextWrapper, FaceletCacheFactory, FaceletCacheFactoryImpl, FacesContextFactory, FacesContextFactoryImpl, FacesContextWrapper, FlashFactory, FlashFactoryImpl, FlashWrapper, FlowHandlerFactoryWrapper, InjectionApplicationFactory, InjectionFacesContextFactory, LifecycleFactory, LifecycleFactoryImpl, LifecycleWrapper, NavigationCaseWrapper, NavigationHandlerWrapper, PartialResponseWriter, PartialViewContextFactory, PartialViewContextFactoryImpl, PartialViewContextWrapper, PreJsf2ExceptionHandlerFactory, RendererWrapper, RenderKitFactory, RenderKitFactoryImpl, RenderKitWrapper, ResourceHandlerWrapper, ResourceWrapper, ResponseWriterWrapper, SearchExpressionContextFactory, SearchExpressionContextFactoryImpl, SearchExpressionHandlerWrapper, StateManagerWrapper, TagHandlerDelegateFactory, TagHandlerDelegateFactoryImpl, ViewDeclarationLanguageFactory, ViewDeclarationLanguageFactoryImpl, ViewDeclarationLanguageWrapper, ViewHandlerWrapper, VisitContextFactory, VisitContextFactoryImpl, VisitContextWrapper

public interface FacesWrapper<T>

Any wrapper class in Jakarta Server Faces that must provide access to the object it wraps must implement this interface.

The expected usage of all subclasses is to provide a constructor that takes an instance of type T, which sets the instance variable that is returned from the getWrapped() method.

Since:
2.0
  • Method Summary

    Modifier and Type Method Description
    T getWrapped()
    A class that implements this interface uses this method to return an instance of the class being wrapped.
  • Method Details

    • getWrapped

      T getWrapped()

      A class that implements this interface uses this method to return an instance of the class being wrapped.

      Returns:
      the wrapped instance.
      Since:
      2.0