3 Replies Latest reply on Jul 23, 2008 12:42 PM by Balvindar Dhaliwal

    Make action class SEAM Component

    Balvindar Dhaliwal Newbie
      Hello,

      I am using Seam 2.0.2 SP1 with Weblogic and JSF. Just a quick query with regards to what installs the action class as seam components at start up time(ie. AuthenticatorAction)

      I have included the AuthenticatorAction action class in web.xml and ejb-jar.xml.

      I would expect somthing like the following at startup:

      Welcome to Seam 2.0.2.SP1
      - Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
      - Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
      - Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
      - Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
      - Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
      - Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
      - Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
      - Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
      - Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
      - Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
      - Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
      - Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
      - Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
      - Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
      - Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
      - reading /WEB-INF/components.xml
      - reading zip:C:/bea/user_projects/domains/seam_domain/servers/AdminServer/tmp/_WL_user/_appsdir_PrimeBrokerWeb_ear/7x1b93/jboss-seam.jar!/META-INF/components.xml
      - reading zip:C:/bea/user_projects/domains/seam_domain/servers/AdminServer/tmp/_WL_user/_appsdir_PrimeBrokerWeb_ear/8mh1u3/war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
      - reading properties from: /seam.properties
      - initializing Seam
      - two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
      - two components with same name, higher precedence wins: org.jboss.seam.core.locale
      - two components with same name, higher precedence wins: org.jboss.seam.core.expressions
      - two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
      - two components with same name, higher precedence wins: org.jboss.seam.security.entityPermissionChecker
      - two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
      - two components with same name, higher precedence wins: org.jboss.seam.web.parameters
      - two components with same name, higher precedence wins: org.jboss.seam.security.identity
      - two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
      - two components with same name, higher precedence wins: org.jboss.seam.core.locale
      - two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
      - two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
      - two components with same name, higher precedence wins: org.jboss.seam.core.manager
      - Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
      - Installing components...

      - Component: authenticator, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.company.action.AuthenticatorAction, JNDI: java:comp/env/primeBrokerWeb/Authenticator

      What makes the above AuthenticatorAction class appear as a component?

      Thanks,
      Bal.