taylor      2004/07/22 17:34:18

  Modified:    webapp/WEB-INF/conf/assembly jetspeed.groovy
  Log:
  add support for generic deployment to Fusion
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.6       +11 -1     jakarta-jetspeed/webapp/WEB-INF/conf/assembly/jetspeed.groovy
  
  Index: jetspeed.groovy
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/assembly/jetspeed.groovy,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jetspeed.groovy   9 Jul 2004 18:47:27 -0000       1.5
  +++ jetspeed.groovy   23 Jul 2004 00:34:18 -0000      1.6
  @@ -184,6 +184,13 @@
   applicationRoot = portalConfig.getString("applicationRoot", "./")+"/"
   
   /* **********************************************************
  + *  Portlet Services                                        *
  + * ******************************************************** */
  +services = new JetspeedPortletServices()
  +container.registerComponentInstance("PortalServices", services)
  +
  +
  +/* **********************************************************
    *  ID Generator                                                                    
           *
    * ******************************************************** */
   Long counterStart = 65536
  @@ -230,7 +237,7 @@
   
   
   /* **********************************************************
  - *  Porlet Registry                                         *
  + *  Portlet Registry                                        *
    * ******************************************************** */
    container.registerComponent(singletonAdapter(
                                 PortletRegistryComponent, 
  @@ -239,6 +246,8 @@
                               )
   )
   
  +services.addPortletService("PortletRegistryComponent", 
container.getComponentInstance(PortletRegistryComponent))
  +
   /* **********************************************************
    *  Portlet Entity                                          *
    * ******************************************************** */
  @@ -461,6 +470,7 @@
                                )
                             )
   )
  +services.addPortletService("PAM", container.getComponentInstance("PAM"))
   
   portletApplicationListener = new 
DeployPortletAppEventListener(webAppDeployDirectory, 
                                      container.getComponentInstance("PAM"), 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to