org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi
Interface BeanEntryFactory


public interface BeanEntryFactory

Factory which allows to provide custom implementations of BeanEntry


Method Summary
<T> BeanEntry<T>
createBeanEntry(javax.enterprise.inject.spi.Bean<T> bean, javax.enterprise.context.spi.CreationalContext<T> creationalContext, boolean scopeBeanEventEnabled, boolean accessBeanEventEnabled, boolean unscopeBeanEventEnabled)
          Creates a new BeanEntry which will be used for storing all data needed for creating and managing a scoped bean
 

Method Detail

createBeanEntry

<T> BeanEntry<T> createBeanEntry(javax.enterprise.inject.spi.Bean<T> bean,
                                 javax.enterprise.context.spi.CreationalContext<T> creationalContext,
                                 boolean scopeBeanEventEnabled,
                                 boolean accessBeanEventEnabled,
                                 boolean unscopeBeanEventEnabled)
Creates a new BeanEntry which will be used for storing all data needed for creating and managing a scoped bean

Type Parameters:
T - current type
Parameters:
bean - current bean
creationalContext - context for the current bean
scopeBeanEventEnabled - flag which indicates if the ScopeBeanEvent should be fired
accessBeanEventEnabled - flag which indicates if the AccessBeanEvent should be fired
unscopeBeanEventEnabled - flag which indicates if the UnscopeBeanEvent should be fired
Returns:
entry which will be stored by one of the CODI scopes


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.