public class BeanRegistry extends Object
-AngularBeansServletContextListenerAnnotated
-ModuleGenerator
-AngularBeansCDIExtention
The BeanRegistry is used to store CDI beans info detected at deployment time to boost javascript generation performances later on the ModuleGenerator (pre generated and compressed js)
it will store specific CDI beans definitions:
Constructor and Description |
---|
BeanRegistry() |
Modifier and Type | Method and Description |
---|---|
Set<NGBean> |
getAngularBeans() |
Class<? extends Object> |
getAppClass() |
Set<NGService> |
getExtentions() |
static BeanRegistry |
getInstance() |
void |
registerApp(Class appClass)
AngularBeansCDIExtention wi
|
void |
registerBean(Class targetClass) |
void |
registerExtention(NGService extention) |
public void registerApp(Class appClass)
appClass
- public void registerBean(Class targetClass)
public void registerExtention(NGService extention)
public static BeanRegistry getInstance()
Copyright © 2015. All rights reserved.