public ContextualReference < T > create ( CreationalContext < T > ctx ) { if ( this . instance != null ) { throw new IllegalStateException ( "Trying to call create() on already constructed instance" ) ; } if ( disposed ) { throw new IllegalStateException ( "Trying to call create() on an already disposed instance" ) ; } this . instance = bean . create ( ctx ) ; return this ; }
Create the instance