|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.cdi.BeansDeployer
public class BeansDeployer
Deploys the all beans that are defined in the ScannerService at
the scanner phase.
| Field Summary | |
|---|---|
protected org.apache.webbeans.xml.WebBeansXMLConfigurator |
xmlConfigurator
XML Configurator |
| Constructor Summary | |
|---|---|
BeansDeployer(org.apache.webbeans.xml.WebBeansXMLConfigurator xmlConfigurator,
org.apache.webbeans.config.WebBeansContext webBeansContext)
|
|
| Method Summary | ||
|---|---|---|
protected void |
addDefaultStereoTypes()
Adds default stereotypes. |
|
protected void |
checkPassivationScope(javax.enterprise.inject.spi.Bean<?> beanObj)
Check passivations. |
|
protected void |
checkSpecializations(org.apache.webbeans.spi.ScannerService scanner)
Checks specialization. |
|
protected void |
checkStereoTypes(org.apache.webbeans.spi.ScannerService scanner)
Check steretypes. |
|
protected
|
defineManagedBean(Class<T> clazz,
org.apache.webbeans.portable.events.ProcessAnnotatedTypeImpl<T> processAnnotatedEvent)
Defines and configures managed bean. |
|
protected void |
deployFromXML(org.apache.webbeans.spi.ScannerService scanner)
Discovers and deploys classes from XML. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.webbeans.xml.WebBeansXMLConfigurator xmlConfigurator
| Constructor Detail |
|---|
public BeansDeployer(org.apache.webbeans.xml.WebBeansXMLConfigurator xmlConfigurator,
org.apache.webbeans.config.WebBeansContext webBeansContext)
| Method Detail |
|---|
protected void deployFromXML(org.apache.webbeans.spi.ScannerService scanner)
throws org.apache.webbeans.exception.WebBeansDeploymentException
scanner - discovery scanner
org.apache.webbeans.exception.WebBeansDeploymentException - if exceptionprotected void checkSpecializations(org.apache.webbeans.spi.ScannerService scanner)
scanner - scanner instanceprotected void checkPassivationScope(javax.enterprise.inject.spi.Bean<?> beanObj)
protected void checkStereoTypes(org.apache.webbeans.spi.ScannerService scanner)
scanner - scanner instanceprotected void addDefaultStereoTypes()
protected <T> boolean defineManagedBean(Class<T> clazz,
org.apache.webbeans.portable.events.ProcessAnnotatedTypeImpl<T> processAnnotatedEvent)
T - type infoclazz - bean class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||