@Override public T getInstance() { final T instance = contextManager.getInstance(handle.getFactoryName()); if (instance instanceof Proxy) { @SuppressWarnings("unchecked") final Proxy<T> proxy = (Proxy<T>) instance; // Forces bean to be loaded. proxy.unwrap(); } return instance; }