You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/12/12 09:52:32 UTC

cvs commit: jakarta-turbine-fulcrum/src/core/java/org/apache/fulcrum ServiceBroker.java

dlr         01/12/12 00:52:32

  Modified:    src/core/java/org/apache/fulcrum ServiceBroker.java
  Log:
  Removed unused methods from interface.
  
  Revision  Changes    Path
  1.5       +3 -31     jakarta-turbine-fulcrum/src/core/java/org/apache/fulcrum/ServiceBroker.java
  
  Index: ServiceBroker.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/src/core/java/org/apache/fulcrum/ServiceBroker.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- ServiceBroker.java	2001/08/31 08:00:28	1.4
  +++ ServiceBroker.java	2001/12/12 08:52:32	1.5
  @@ -65,7 +65,7 @@
    * <code>Service</code> classes.
    *
    * Functionality that <code>ServiceBroker</code> provides in addition
  - * to <code>InitableBroker</code> functionality includes:
  + * to <code>ServiceBroker</code> functionality includes:
    *
    * <ul>
    *
  @@ -81,39 +81,11 @@
    * @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a>
    * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  - * @version $Id: ServiceBroker.java,v 1.4 2001/08/31 08:00:28 jvanzyl Exp $
  + * @version $Id: ServiceBroker.java,v 1.5 2001/12/12 08:52:32 dlr Exp $
    */
   public interface ServiceBroker
   {
       /**
  -     * Performs early initialization of an Initable class.
  -     *
  -     * If your class depends on another Initable being initialized to
  -     * perform early initialization, you should always ask your broker
  -     * to initialize the other class with the objects that are passed
  -     * to you, before you try to retrieve that Initable's instance with
  -     * getInitable().
  -     *
  -     * @param className The name of the class to be initailized.
  -     * @param data An object to be used for initialization activities.
  -     * @exception InitializationException, if initialization of this
  -     * class was not successful.
  -     */
  -    public void initClass( String className )
  -        throws InitializationException;
  -
  -    /**
  -     * Shutdowns an Initable class.
  -     *
  -     * This method is used to release resources allocated by an
  -     * Initable class, and return it to initial (uninitailized)
  -     * state.
  -     *
  -     * @param className The name of the class to be uninitialized.
  -     */
  -    public void shutdownClass( String className );
  -
  -    /**
        * Determines whether a service is registered in the configured
        * <code>TurbineResources.properties</code>.
        *
  @@ -123,7 +95,7 @@
       public boolean isRegistered( String serviceName );
   
       /**
  -     * Performs early initialization of specified service.
  +     * Performs early initialization of the specified service.
        *
        * @param name The name of the service.
        * @param data An Object to use for initialization activities.
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>