org.apache.myfaces.extensions.cdi.core.impl.scope.conversation
Class AbstractGroupedConversationContext
java.lang.Object
org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.AbstractGroupedConversationContext
public abstract class AbstractGroupedConversationContext
- extends Object
- Author:
- Gerhard Petracek
Field Summary |
protected javax.enterprise.inject.spi.BeanManager |
beanManager
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beanManager
protected javax.enterprise.inject.spi.BeanManager beanManager
AbstractGroupedConversationContext
protected AbstractGroupedConversationContext(javax.enterprise.inject.spi.BeanManager beanManager)
create
public <T> T create(javax.enterprise.inject.spi.Bean<T> bean,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
resolve
public <T> T resolve(javax.enterprise.inject.spi.Bean<T> bean)
resolveWindowContextManager
protected abstract WindowContextManager resolveWindowContextManager()
- Returns:
- an instance of a custom or the default
WindowContextManager
resolveBeanEntryFactory
protected abstract BeanEntryFactory resolveBeanEntryFactory()
- Returns:
- an instance of a custom or the default
BeanEntryFactory
resolveBeanInstance
protected abstract <T> T resolveBeanInstance(WindowContextManager windowContextManager,
javax.enterprise.inject.spi.Bean<T> beanDescriptor)
- Parameters:
windowContextManager
- the current
WindowContextManager
beanDescriptor
- descriptor of the requested bean
- Returns:
- the instance of the requested bean if it exists in the current
WindowContext
null otherwise
scopeBeanEntry
protected abstract <T> void scopeBeanEntry(WindowContextManager windowContextManager,
BeanEntry<T> beanEntry)
- Store the given bean in the
WindowContext
- Parameters:
windowContextManager
- current
WindowContextManager
beanEntry
- current bean-entry
getConversationConfig
protected abstract ConversationConfig getConversationConfig()
isActive
public abstract boolean isActive()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.