|
Can't inject PartitionManager provided by the picketlink subsystem in wildfly, into an EJB that's inside an EJB jar in an EAR.
@Resource(mappedName = "picketlink/CustomPicketLinkPartitionManager")
private PartitionManager customPicketLinkPartitionManager;
WARN [org.jboss.weld.Validator] (weld-worker-1) WELD-001473: javax.enterprise.inject.spi.Bean implementation org.picketlink.as.subsystem.idm.PartitionManagerBeanDefinition@25d19332 declared a normal scope but does not implement javax.enterprise.inject.spi.PassivationCapable. It won't be possible to inject this bean into a bean with passivating scope (@SessionScoped, @ConversationScoped). This can be fixed by assigning the Bean implementation a unique id by implementing the PassivationCapable interface.
|