public Object injectAndPostConstruct ( Class < ? > Klass ) throws InjectionProviderException { Object instance = null ; ManagedObject mo = ( ManagedObject ) ( ( WASInjectionProvider ) getInjectionProvider ( ) ) . inject ( Klass , true , _externalContext ) ; instance = mo . getObject ( ) ; if ( instance instanceof FacesWrapper ) { Object innerInstance = ( ( FacesWrapper ) instance ) . getWrapped ( ) ; if ( innerInstance != null ) { injectAndPostConstruct ( innerInstance ) ; } } return instance ; }
Made public for use by ClassUtils .