public class CDIHandler extends Object
Constructor and Description |
---|
CDIHandler(Object beanMgr) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> T |
createObjectWithInjectedDependencies(Class<T> cls)
Method to instantiate an object of the specified type with injected dependencies.
|
public CDIHandler(Object beanMgr)
public <T> T createObjectWithInjectedDependencies(Class<T> cls)
T
- Type of the objectcls
- The type to instantiatepublic void close()
Copyright © 2019. All rights reserved.