CVS update: talon/src/java/talon

From: cvs@openprivacy.org
Date: Fri Mar 02 2001 - 19:16:57 PST

  • Next message: cvs@openprivacy.org: "CVS update: talon/src/java/talon"

    Date: Friday March 2, 19101 @ 19:16
    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-serv19479/src/java/talon

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

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

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

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

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

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

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

    Index: talon/src/java/talon/BaseComponent.java
    diff -u talon/src/java/talon/BaseComponent.java:1.4 talon/src/java/talon/BaseComponent.java:1.5
    --- talon/src/java/talon/BaseComponent.java:1.4 Sat Feb 24 21:31:19 2001
    +++ talon/src/java/talon/BaseComponent.java Fri Mar 2 19:16:57 2001
    @@ -17,10 +17,11 @@
     import talon.util.net.*;
     
     /**
    + * Implements most of the Component interface. Should be used by component
    + * develoeprs as a base for the Components they create.
      *
    - *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BaseComponent.java,v 1.4 2001/02/25 05:31:19 burton Exp $
    + * @version $Id: BaseComponent.java,v 1.5 2001/03/03 03:16:57 burton Exp $
      */
     public abstract class BaseComponent implements Component {
     
    @@ -31,7 +32,7 @@
         /**
          * @see Component
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BaseComponent.java,v 1.4 2001/02/25 05:31:19 burton Exp $
    + * @version $Id: BaseComponent.java,v 1.5 2001/03/03 03:16:57 burton Exp $
          */
         public ComponentHandle getComponentHandle() {
             return this.handle;
    @@ -40,7 +41,7 @@
         /**
          * @see Component
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BaseComponent.java,v 1.4 2001/02/25 05:31:19 burton Exp $
    + * @version $Id: BaseComponent.java,v 1.5 2001/03/03 03:16:57 burton Exp $
          */
         public void setComponentHandle( ComponentHandle handle ) {
             this.handle = handle;
    @@ -49,7 +50,7 @@
         /**
          * @see Component
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BaseComponent.java,v 1.4 2001/02/25 05:31:19 burton Exp $
    + * @version $Id: BaseComponent.java,v 1.5 2001/03/03 03:16:57 burton Exp $
          */
         public URI getComponentReference() {
     
    @@ -84,7 +85,7 @@
         /**
          * @see Component
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BaseComponent.java,v 1.4 2001/02/25 05:31:19 burton Exp $
    + * @version $Id: BaseComponent.java,v 1.5 2001/03/03 03:16:57 burton Exp $
          */
         public Logger getLogger() {
             try {
    @@ -103,7 +104,7 @@
          * Default impl of toString() just dumps handle info...
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: BaseComponent.java,v 1.4 2001/02/25 05:31:19 burton Exp $
    + * @version $Id: BaseComponent.java,v 1.5 2001/03/03 03:16:57 burton Exp $
          */
         public String toString() {
             return this.getComponentHandle().toString();

    *****************************************************************
    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.8

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentFactory.java?rev=1.8&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.8&r2=1.7

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

    Index: talon/src/java/talon/ComponentFactory.java
    diff -u talon/src/java/talon/ComponentFactory.java:1.7 talon/src/java/talon/ComponentFactory.java:1.8
    --- talon/src/java/talon/ComponentFactory.java:1.7 Sun Feb 18 23:47:52 2001
    +++ talon/src/java/talon/ComponentFactory.java Fri Mar 2 19:16:57 2001
    @@ -17,7 +17,7 @@
      * 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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
      */
     public class ComponentFactory {
     
    @@ -68,7 +68,7 @@
          * Static initializer...
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         static {
     
    @@ -82,7 +82,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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         public static Component getInstance( ComponentHandle handle )
             throws TalonException {
    @@ -107,14 +107,14 @@
             //if the implementation is null... try to pull this out of the HandleManager
             if ( handle.getImplementation() == null && handle.getName() != null ) {
     
    +
    + //need to keep a copy of the properties when I get the correct ComponentHandle
                 PropertyManager props = handle.getInitProperties();
     
                 handle = HandleManager.byName( handle.getName() );
                 handle.setInitProperties( props );
             }
             
    -
    -
             //determine what lifetime to use
     
             String lifetime = handle.getLifetime();
    @@ -132,7 +132,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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         private static Component getDemandBasedInstance( ComponentHandle handle )
             throws TalonException {
    @@ -147,7 +147,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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         private static Component getSingletonBasedInstance( ComponentHandle handle )
             throws TalonException {
    @@ -171,7 +171,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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         private static Component instantiateComponent( ComponentHandle handle )
             throws TalonException {
    @@ -194,7 +194,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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         static void putSingleton( ComponentHandle handle, Component comp ) {
             singletons.put( handle, comp );
    @@ -207,7 +207,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.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         public static Logger getLogger() {
             return ComponentFactory.logger;
    @@ -217,7 +217,7 @@
          *
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: ComponentFactory.java,v 1.7 2001/02/19 07:47:52 burton Exp $
    + * @version $Id: ComponentFactory.java,v 1.8 2001/03/03 03:16:57 burton Exp $
          */
         public static void setLogger( Logger logger ) {
             ComponentFactory.logger = logger;

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

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

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

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

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

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

    Index: talon/src/java/talon/NotFoundException.java
    diff -u talon/src/java/talon/NotFoundException.java:1.1 talon/src/java/talon/NotFoundException.java:1.2
    --- talon/src/java/talon/NotFoundException.java:1.1 Tue Jan 16 02:42:32 2001
    +++ talon/src/java/talon/NotFoundException.java Fri Mar 2 19:16:57 2001
    @@ -9,6 +9,12 @@
     
     package talon;
     
    +/**
    + * Thrown if a Component or ComponentHandle could not be found within Talon.
    + *
    + * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    + * @version $Id: NotFoundException.java,v 1.2 2001/03/03 03:16:57 burton Exp $
    + */
     public class NotFoundException extends TalonException {
     
         public NotFoundException() {



    This archive was generated by hypermail 2b30 : Fri Mar 02 2001 - 19:17:29 PST