org.glassfish.hk2.inject
Interface Injector


@Contract
public interface Injector

Defines a simple API for injecting HK2 components

Author:
Jerome Dochez

Method Summary
<T> T
inject(T target)
          Injects all the Inject annotated fields and methods of the passed instance.
 

Method Detail

inject

<T> T inject(T target)
Injects all the Inject annotated fields and methods of the passed instance.

Parameters:
target - the instance to inject


Copyright © 2011 Oracle Corporation. All Rights Reserved.