3 Replies Latest reply on Dec 4, 2008 4:39 AM by Matt Drees

    Does extended Identity allow injection?

    Matt Rauls Newbie

      I have a seam application that includes an class that extends Identity. I know this identity is working in that is instantiated correctly and is available. However for some reason I can't seem to inject a couple of objects into the extended identity -- they are both always null. One of the objects is an application scoped bean, the other is a stateless session bean. I have been able to successfully inject both objects into other objects.

      My core question is are you allowed to inject seam objects into an identity?

      @Install(precedence = Install.APPLICATION)
      public class MsatIdentity extends Identity{
           INavigation navBo;
           NavItemCache navItemCache;
      public class NavItemCache {...}
      public class NavigationBo implements INavigation {...}