public class DefaultInstanceFactory extends Object implements InstanceFactory
InstanceFactory.| Constructor and Description |
|---|
DefaultInstanceFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
create(Class<T> type)
Create the specified type.
|
<T> T |
create(Class<T> type,
Annotation[] annotations)
Create the specified type using the given annotation as hints.
|
public <T> T create(Class<T> type)
InstanceFactorycreate in interface InstanceFactorypublic <T> T create(Class<T> type, Annotation[] annotations)
InstanceFactorycreate in interface InstanceFactoryCopyright © 2017. All rights reserved.