cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components LifecycleHelper.java
Date Thu, 24 Jul 2003 10:30:53 GMT
bruno       2003/07/24 03:30:53

  Modified:    src/java/org/apache/cocoon/components LifecycleHelper.java
  Log:
  Added a static setupComponent method that takes a ServiceManager instead of a ComponentManager
  
  Revision  Changes    Path
  1.3       +24 -1     cocoon-2.1/src/java/org/apache/cocoon/components/LifecycleHelper.java
  
  Index: LifecycleHelper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/LifecycleHelper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LifecycleHelper.java	16 Jul 2003 22:46:20 -0000	1.2
  +++ LifecycleHelper.java	24 Jul 2003 10:30:52 -0000	1.3
  @@ -218,6 +218,29 @@
       }
   
       /**
  +     * Alternative setupComponent method that takes a ServiceManager instead of a ComponentManger.
  +     */
  +    public static Object setupComponent( final Object component,
  +            final Logger logger,
  +            final Context context,
  +            final ServiceManager serviceManager,
  +            final RoleManager roles,
  +            final LogKitManager logkit,
  +            final Configuration configuration )
  +        throws Exception
  +    {
  +        return setupComponent( component,
  +                logger,
  +                context,
  +                serviceManager,
  +                null,
  +                roles,
  +                logkit,
  +                configuration,
  +                true );
  +    }
  +
  +    /**
        * Static equivalent to {@link #setupComponent(Object, boolean)}, to be used when there's
only one
        * component to setup.
        */
  
  
  

Mime
View raw message