Sun GlassFish Enterprise Server v3 Prelude Add-On Component Development Guide

Instantiation of Components in HK2

Do not call the new method to instantiate components. Instead, retrieve components by using the ComponentManager instance. The simplest way to use the ComponentManager instance is through a getComponent(ClassT contract) call:

public <T> T getComponent(Class<T> clazz) throws ComponentException;

More APIs are available at ComponentManager.