Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-346

Can't inject PartitionManager in EJB jars

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • PLINK_2.7.0.Beta1
    • PLINK_2.5.3.Beta1
    • IDM
    • None
    • Sprint_July7-11,2014

    Description

      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.

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            paul_alesius Paul Alesius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: