org.jboss.seam.conversation.spi
Class SeamConversationContextFactory
java.lang.Object
org.jboss.seam.conversation.spi.SeamConversationContextFactory
public class SeamConversationContextFactory
- extends Object
Create SeamConversationContext based on underlying CDI implementation.
- Author:
- Ales Justin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamConversationContextFactory
public SeamConversationContextFactory()
produce
@Produces
public static SeamConversationContext produce(InjectionPoint ip)
- Produce matching Seam conversation context.
- Parameters:
ip - current injection point
- Returns:
- new Seam conversation context instance
getContext
public static <T> SeamConversationContext<T> getContext(Class<T> storeType)
- Get the current Seam conversation context instance.
If null is passed as store type,
we try to use CDI impl's default HTTP based SeamConversationContext.
- Parameters:
storeType - the store type
- Returns:
- get current conversation context instance
Copyright © 2011 Seam Framework. All Rights Reserved.