@Singleton public class ResinCdiProducer extends java.lang.Object
Constructor and Description |
---|
ResinCdiProducer() |
Modifier and Type | Method and Description |
---|---|
CacheManager |
createCacheManager() |
static java.lang.Class<?> |
createResinValidatorProducer()
Adds the bean validation producer to CDI.
|
void |
destroy(ConversationContext conversation) |
ConversationContext |
getConversation()
Returns the web beans conversation controller
|
javax.management.MBeanServer |
getMBeanServer()
Returns the MBeanServer
|
java.security.Principal |
getPrincipal()
Returns the ScheduledExecutorService
|
java.util.concurrent.ScheduledExecutorService |
getScheduledExecutorService()
Returns the ScheduledExecutorService
|
TransactionSynchronizationRegistry |
getSyncRegistry()
Returns the TransactionSynchronizationRegistry
|
TransactionManager |
getTransactionManager()
Returns the TransactionManager
|
UserTransaction |
getUserTransaction()
Returns the UserTransaction
|
@Produces @Named(value="javax.enterprise.context.conversation") @RequestScoped public ConversationContext getConversation()
public void destroy(@Disposes @Named(value="javax.enterprise.context.conversation") ConversationContext conversation)
@Produces public javax.management.MBeanServer getMBeanServer()
@Produces public TransactionManager getTransactionManager()
@Produces public UserTransaction getUserTransaction()
@Produces public TransactionSynchronizationRegistry getSyncRegistry()
@Produces @ContextDependent public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
@Produces @ContextDependent public java.security.Principal getPrincipal()
public static java.lang.Class<?> createResinValidatorProducer()
@Singleton @Produces public CacheManager createCacheManager()