public < T > T get ( Contextual < T > contextual , CreationalContext < T > creationalContext ) { if ( ! isActive ( ) ) { throw new ContextNotActiveException ( ) ; } if ( creationalContext != null ) { T instance = contextual . create ( creationalContext ) ; if ( creationalContext instanceof WeldCreationalContext < ? > ) { addDependentInstance ( instance , contextual , ( WeldCreationalContext < T > ) creationalContext ) ; } return instance ; } else { return null ; } }
Overridden method always creating a new instance