3 Replies Latest reply on Aug 2, 2005 4:15 AM by julien1

    Interceptor

    patrickdalla

      How do I create an Interceptor?

      Where do I configure an interceptor?

        • 1. Re: Interceptor

          we have 2 kinds of interceptors so far in jboss portal, server scoped and component scoped.

          in 2.0 both of them use the same based interface, in 2.2 they have each a specific subclass.

          you create your own by inheriting the base class of interface and you specify them in an xml file in conf either in standardjboss-portlet.xml or jboss-container.xml

          • 2. Re: Interceptor

            But I found that there are three files for interceptors.

            ./core/src/resources/portal-core-sar/conf/jboss-container.xml
            ./core/src/resources/portal-core-sar/conf/standardjboss-page.xml
            ./core/src/resources/portal-core-sar/conf/standardjboss-portlet.xml

            Does it mean both standardjboss-page.xml and standardjboss-portlet.xml are component scoped?

            regards
            yang

            "julien@jboss.com" wrote:
            we have 2 kinds of interceptors so far in jboss portal, server scoped and component scoped.

            in 2.0 both of them use the same based interface, in 2.2 they have each a specific subclass.

            you create your own by inheriting the base class of interface and you specify them in an xml file in conf either in standardjboss-portlet.xml or jboss-container.xml


            • 3. Re: Interceptor

              the page interceptors has been introduced in 2.2 very recently.