de.smartics.properties.integration.cdi.extension
Class SmarticsPropertiesCdiExtension

Package class diagram package SmarticsPropertiesCdiExtension
java.lang.Object
  extended by de.smartics.properties.integration.cdi.extension.SmarticsPropertiesCdiExtension
All Implemented Interfaces:
javax.enterprise.inject.spi.Extension

public class SmarticsPropertiesCdiExtension
     
     
extends Object
implements javax.enterprise.inject.spi.Extension

The extension that creates the cdi beans for the property types and adds them to the BeanManager.


Constructor Summary
SmarticsPropertiesCdiExtension()
           
 
Method Summary
 void addSmarticsPropertiesToBeanManager(javax.enterprise.inject.spi.AfterBeanDiscovery abd, javax.enterprise.inject.spi.BeanManager manager, de.smartics.properties.api.config.domain.key.ConfigurationKey<?> configKey)
          Cdi extension method that gets the AfterBeanDiscovery event and the BeanManager injected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmarticsPropertiesCdiExtension

public SmarticsPropertiesCdiExtension()
Method Detail

addSmarticsPropertiesToBeanManager

public void addSmarticsPropertiesToBeanManager(@Observes
                                               javax.enterprise.inject.spi.AfterBeanDiscovery abd,
                                               javax.enterprise.inject.spi.BeanManager manager,
                                               de.smartics.properties.api.config.domain.key.ConfigurationKey<?> configKey)
Cdi extension method that gets the AfterBeanDiscovery event and the BeanManager injected.

Parameters:
abd - the AfterBeanDiscovery event.
manager - the BeanManager.
configKey - the actual (runtime dependent) configuration key.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.