org.glassfish.hk2.inject
Interface Creator


Deprecated.

@Deprecated
@Contract
public interface Creator


Method Summary
<T> T
newValueObject(Class<T> type)
          Deprecated. Creates a new value object which will be instantiated using the empty parameter constructor.
 

Method Detail

newValueObject

<T> T newValueObject(Class<T> type)
Deprecated. 
Creates a new value object which will be instantiated using the empty parameter constructor. All declared dependencies of this value object will be injected as well as normal component lifecycle. Instances created by this method will not be added to this service registry.

Type Parameters:
T - value object type
Parameters:
type - requested value object type
Returns:
value object instantiated and injected.


Copyright © 2013 Oracle Corporation. All Rights Reserved.