*
* @return injector
*/
public static ConfigurableInjector getInjector()
{
ConfigurableInjector injector = Application.get().getMetaData(INJECTOR_KEY);
if (injector == null)
{
throw new IllegalStateException("InjectorHolder has not been assigned an injector. "
+ "Use InjectorHolder.setInjector() to assign an injector. "
+ "In most cases this should be done once inside "