CVS update: talon/src/java/talon

From: cvs@openprivacy.org
Date: Thu Mar 15 2001 - 12:20:27 PST

  • Next message: cvs@openprivacy.org: "CVS update: sierra/docs"

    Date: Thursday March 15, 19101 @ 12:20
    Author: burton
    CVSWEB Options: -------------------

    Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

    View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon

    -----------------------------------

    Update of /usr/local/cvs/public/talon/src/java/talon
    In directory giga:/tmp/cvs-serv6866/src/java/talon

    Modified Files:
            ComponentFactory.java
    Log Message:
    ...

    *****************************************************************
    File: talon/src/java/talon/ComponentFactory.java

    CVSWEB Options: -------------------

    CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentFactory.java?annotate=1.15

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentFactory.java?rev=1.15&content-type=text/x-cvsweb-markup

    CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentFactory.java.diff?r1=1.15&r2=1.14

    -----------------------------------

    Index: talon/src/java/talon/ComponentFactory.java
    diff -u talon/src/java/talon/ComponentFactory.java:1.14 talon/src/java/talon/ComponentFactory.java:1.15
    --- talon/src/java/talon/ComponentFactory.java:1.14 Wed Mar 14 17:33:38 2001
    +++ talon/src/java/talon/ComponentFactory.java Thu Mar 15 12:20:27 2001
    @@ -9,15 +9,19 @@
     
     package talon;
     
    +import java.io.*;
    +import java.net.*;
     import java.util.*;
     import talon.components.*;
     import talon.implementations.*;
    +import talon.interfaces.*;
    +import talon.util.net.*;
     
     /**
      * Create instances of components and manage their lifetimes.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
      */
     public class ComponentFactory {
     
    @@ -65,24 +69,10 @@
         private static Logger logger = null;
         
         /**
    - * Static initializer...
    - *
    - * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    - */
    - static {
    -
    - //init if necessary.
    - //Initializer.init();
    -
    - }
    -
    -
    - /**
          * Get a Component via class. This will create the component on demand.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         public static Component getInstance( Class _class )
             throws TalonException {
    @@ -96,7 +86,7 @@
          * Get a Component via classname. This will create the component on demand.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         public static Component getInstance( String classname )
             throws TalonException {
    @@ -110,7 +100,7 @@
          * Given a ComponentHandle get a Component
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         public static Component getInstance( ComponentHandle handle )
             throws TalonException {
    @@ -168,7 +158,7 @@
          *
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         private static void constrain( String name,
                                        ComponentHandle handle,
    @@ -192,7 +182,7 @@
          * the given prototype as a basis for getting more info.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         private static void constrain( ComponentHandle handle,
                                        ComponentHandle prototype ) {
    @@ -228,7 +218,7 @@
          * Get a component instantiating a new one everytime we need it.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         private static Component getDemandBasedInstance( ComponentHandle handle )
             throws TalonException {
    @@ -243,7 +233,7 @@
          * Get a singleton or create it if necessary.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         private static Component getSingletonBasedInstance( ComponentHandle handle )
             throws TalonException {
    @@ -266,7 +256,7 @@
          * Perform basic instantiation on a component.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         private static Component instantiateComponent( ComponentHandle handle )
             throws TalonException {
    @@ -288,7 +278,7 @@
          * Put a singleton to the Factory.
          * FIXME: Should this throw an Exception if this object is already present?
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         static void putSingleton( ComponentHandle handle, Component comp ) {
             singletons.put( handle, comp );
    @@ -301,7 +291,7 @@
          * don't have to worry about fetching an object from the component system.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         public static Logger getLogger() {
             return ComponentFactory.logger;
    @@ -311,7 +301,7 @@
          *
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.15 2001/03/15 20:20:27 burton Exp $
          */
         public static void setLogger( Logger logger ) {
             ComponentFactory.logger = logger;



    This archive was generated by hypermail 2b30 : Thu Mar 15 2001 - 12:21:58 PST