public class ControllerFactory extends Object
| Constructor and Description |
|---|
ControllerFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createController(Class<?> targetClass,
javax.enterprise.inject.spi.BeanManager beanManager)
Creates an instance of the passed-in type by delegating to CDI (beanManager).
|
public Object createController(Class<?> targetClass, javax.enterprise.inject.spi.BeanManager beanManager)
targetClass - the type of the target endpoint class.beanManager - the CDI bean manager that should be used to look up the type.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.