@SuppressWarnings("unchecked")
    public void injectNonContextualInstance(final Object instance) {
        if (instance != null) {
            CreationalContext<Object> creationalContext = manager.createCreationalContext(null);
            InjectionTarget<Object> injectionTarget = (InjectionTarget<Object>) manager
                    .createInjectionTarget(getAnnotatedType(instance));
            injectionTarget.inject(instance, creationalContext);
        }
    }
@ SuppressWarnings ( "unchecked" ) public void injectNonContextualInstance ( final Object instance ) { if ( instance != null ) { CreationalContext < Object > creationalContext = manager . createCreationalContext ( null ) ; InjectionTarget < Object > injectionTarget = ( InjectionTarget < Object > ) manager . createInjectionTarget ( getAnnotatedType ( instance ) ) ; injectionTarget . inject ( instance , creationalContext ) ; } }
Perform @{@link Inject} on an object as if it were a bean managed by CDI.

@param instance