public class DependencyInjectionFactory extends Object
Constructor and Description |
---|
DependencyInjectionFactory() |
Modifier and Type | Method and Description |
---|---|
static Object |
newInstance(Class type,
Object[] dependencies)
Create an instance with dependency injection.
|
public static Object newInstance(Class type, Object[] dependencies)
TypedNull
instance to inject
null
as parameter.type
- the type to create an instance ofdependencies
- the possible dependenciesObjectAccessException
- if no instance can be generatedCopyright © 2016 Internet2. All rights reserved.