From: cvs@openprivacy.orgCVS update: talon/src/java/talon
Date: Wednesday March 14, 19101 @ 17:33
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-serv4084/src/java/talon
Modified Files:
BaseComponent.java Component.java ComponentFactory.java
ComponentHandle.java HandleManager.java Initializer.java
Removed Files:
ReferenceFactory.java
Log Message:
refactoring component package from interfaces to components
*****************************************************************
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.11
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/BaseComponent.java?rev=1.11&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.11&r2=1.10
-----------------------------------
Index: talon/src/java/talon/BaseComponent.java
diff -u talon/src/java/talon/BaseComponent.java:1.10 talon/src/java/talon/BaseComponent.java:1.11
--- talon/src/java/talon/BaseComponent.java:1.10 Tue Mar 13 21:43:35 2001
+++ talon/src/java/talon/BaseComponent.java Wed Mar 14 17:33:38 2001
@@ -12,7 +12,8 @@
import java.util.*;
import java.net.*;
-import talon.interfaces.*;
+import talon.references.*;
+import talon.components.*;
import talon.implementations.*;
import talon.util.net.*;
@@ -21,7 +22,7 @@
* 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.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public abstract class BaseComponent implements Component {
@@ -41,7 +42,7 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseComponent.java,v 1.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle getComponentHandle() {
return this.handle;
@@ -50,7 +51,7 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseComponent.java,v 1.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public void setComponentHandle( ComponentHandle handle ) {
this.handle = handle;
@@ -59,13 +60,13 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseComponent.java,v 1.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public URI getComponentReference() {
//determine this URI if it isn't set.
if ( componentReference == null ) {
- componentReference = ReferenceFactory.getComponentReference( this );
+ componentReference = ComponentReferenceFactory.getComponentReference( this );
}
return componentReference;
@@ -78,12 +79,12 @@
* the method in that class.
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseComponent.java,v 1.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public URI getTypeReference() {
if ( this.typeReference == null ) {
- typeReference = ReferenceFactory.getTypeReference( this );
+ typeReference = TypeReferenceFactory.getTypeReference( this );
}
return this.typeReference;
@@ -92,7 +93,7 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseComponent.java,v 1.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public Logger getLogger() {
try {
@@ -115,7 +116,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.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
public String toString() {
return this.getComponentHandle().toString();
@@ -124,19 +125,19 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseComponent.java,v 1.10 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: BaseComponent.java,v 1.11 2001/03/15 01:33:38 burton Exp $
*/
- public Class[] getInterfaces() {
+// public Class[] getInterfaces() {
- if ( componentInterfaces == null ) {
+// if ( componentInterfaces == null ) {
- this.componentInterfaces = ReferenceFactory.getInterfaces( this.getClass() );
+// this.componentInterfaces = ReferenceFactory.getInterfaces( this.getClass() );
- }
+// }
- return componentInterfaces;
+// return componentInterfaces;
- }
+// }
}
*****************************************************************
File: talon/src/java/talon/Component.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/Component.java?annotate=1.10
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/Component.java?rev=1.10&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/Component.java.diff?r1=1.10&r2=1.9
-----------------------------------
Index: talon/src/java/talon/Component.java
diff -u talon/src/java/talon/Component.java:1.9 talon/src/java/talon/Component.java:1.10
--- talon/src/java/talon/Component.java:1.9 Tue Mar 13 01:53:07 2001
+++ talon/src/java/talon/Component.java Wed Mar 14 17:33:38 2001
@@ -12,7 +12,7 @@
import java.util.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
/**
@@ -21,7 +21,7 @@
* as a first class Component with the system.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public interface Component {
@@ -31,7 +31,7 @@
* Talon relies on the fact that a constructor has not been called.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public void init() throws TalonException;
@@ -39,7 +39,7 @@
* Get the handle for this component.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle getComponentHandle();
@@ -59,7 +59,7 @@
*
* @see Object#hashCode
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public URI getComponentReference();
@@ -74,7 +74,7 @@
*
* @see #getComponentReference
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public URI getTypeReference();
@@ -82,7 +82,7 @@
* Set the handle for this component.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public void setComponentHandle( ComponentHandle handle );
@@ -92,7 +92,7 @@
* switch logging implementations without needing a specific configuration.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
public Logger getLogger();
@@ -103,9 +103,9 @@
*
* @see Class#getInterfaces
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Component.java,v 1.9 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Component.java,v 1.10 2001/03/15 01:33:38 burton Exp $
*/
- public Class[] getInterfaces();
+ //public Class[] getInterfaces();
}
*****************************************************************
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.14
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentFactory.java?rev=1.14&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.14&r2=1.13
-----------------------------------
Index: talon/src/java/talon/ComponentFactory.java
diff -u talon/src/java/talon/ComponentFactory.java:1.13 talon/src/java/talon/ComponentFactory.java:1.14
--- talon/src/java/talon/ComponentFactory.java:1.13 Tue Mar 13 15:41:49 2001
+++ talon/src/java/talon/ComponentFactory.java Wed Mar 14 17:33:38 2001
@@ -10,14 +10,14 @@
package talon;
import java.util.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.implementations.*;
/**
* 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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
public class ComponentFactory {
@@ -30,7 +30,7 @@
public static final ComponentHandle TALON_DEFAULT_LOGGER =
new ComponentHandle().setName( "TALON_DEFAULT_LOGGER" )
- .setInterface( "talon.interfaces.Logger" )
+ .setInterface( "talon.components.Logger" )
.setImplementation( "talon.implementations.SimpleLogger" )
.setInitProperties( new SimplePropertyManager().setProperty( "project", "talon" ) )
.setLifetime( LIFETIME_SINGLETON );
@@ -38,7 +38,7 @@
public static final ComponentHandle TALON_DEFAULT_PROPERTY_MANAGER =
new ComponentHandle().setName( "TALON_DEFAULT_PROPERTY_MANAGER" )
- .setInterface( "talon.interfaces.PropertyManager" )
+ .setInterface( "talon.components.PropertyManager" )
.setImplementation( "talon.implementations.SimplePropertyManager" )
.setInitProperties( new SimplePropertyManager().setProperty( "project", "talon" ) )
.setLifetime( LIFETIME_SINGLETON );
@@ -51,13 +51,13 @@
Logger implementation.
*/
public static final ComponentHandle LOGGER_INTERFACE_KEY =
- new ComponentHandle( "talon.interfaces.Logger" );
+ new ComponentHandle( "talon.components.Logger" );
/**
PropertyManager implementation.
*/
public static final ComponentHandle PROPERTY_MANAGER_INTERFACE_KEY =
- new ComponentHandle( "talon.interfaces.PropertyManager" );
+ new ComponentHandle( "talon.components.PropertyManager" );
private static Hashtable singletons = new Hashtable();
@@ -68,7 +68,7 @@
* Static initializer...
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentFactory.java,v 1.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
static {
@@ -82,7 +82,7 @@
* 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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
public static Component getInstance( Class _class )
throws TalonException {
@@ -96,7 +96,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
public static Component getInstance( String classname )
throws TalonException {
@@ -110,7 +110,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
public static Component getInstance( ComponentHandle handle )
throws TalonException {
@@ -146,11 +146,6 @@
//no go over the handle and make sure we have enough information.
- //if the interface is still unknown. Make sure we warn the user.
- if ( handle.getInterface() == null ) {
- logger.warning( "Unknown interface for handle: " + handle.toString() );
- }
-
//if the implementatio is unknown there is nothing we can do
if ( handle.getImplementation() == null ) {
throw new TalonException( "Unable to determine implementation classname." );
@@ -173,7 +168,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentFactory.java,v 1.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
private static void constrain( String name,
ComponentHandle handle,
@@ -197,7 +192,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
private static void constrain( ComponentHandle handle,
ComponentHandle prototype ) {
@@ -233,7 +228,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
private static Component getDemandBasedInstance( ComponentHandle handle )
throws TalonException {
@@ -248,7 +243,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
private static Component getSingletonBasedInstance( ComponentHandle handle )
throws TalonException {
@@ -271,7 +266,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
private static Component instantiateComponent( ComponentHandle handle )
throws TalonException {
@@ -293,7 +288,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
static void putSingleton( ComponentHandle handle, Component comp ) {
singletons.put( handle, comp );
@@ -306,7 +301,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.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
public static Logger getLogger() {
return ComponentFactory.logger;
@@ -316,7 +311,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentFactory.java,v 1.13 2001/03/13 23:41:49 burton Exp $
+ * @version $Id: ComponentFactory.java,v 1.14 2001/03/15 01:33:38 burton Exp $
*/
public static void setLogger( Logger logger ) {
ComponentFactory.logger = logger;
*****************************************************************
File: talon/src/java/talon/ComponentHandle.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentHandle.java?annotate=1.13
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentHandle.java?rev=1.13&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/ComponentHandle.java.diff?r1=1.13&r2=1.12
-----------------------------------
Index: talon/src/java/talon/ComponentHandle.java
diff -u talon/src/java/talon/ComponentHandle.java:1.12 talon/src/java/talon/ComponentHandle.java:1.13
--- talon/src/java/talon/ComponentHandle.java:1.12 Tue Mar 13 21:43:35 2001
+++ talon/src/java/talon/ComponentHandle.java Wed Mar 14 17:33:38 2001
@@ -13,8 +13,9 @@
import java.io.*;
import java.net.*;
import java.util.*;
+import talon.references.*;
import talon.implementations.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
/**
@@ -23,7 +24,7 @@
* to hold property information.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public class ComponentHandle {
@@ -57,7 +58,7 @@
* URI. Default is none.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
private String name = null;
@@ -65,7 +66,7 @@
* Create a basic ComponentHandle
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle() {}
@@ -74,7 +75,7 @@
* pulled from the Talon properties.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle( String _interface ) {
@@ -85,7 +86,7 @@
/**
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle( String _interface,
String _implementation ) {
@@ -99,7 +100,7 @@
/**
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle( String _interface,
String _classname,
@@ -112,7 +113,7 @@
/**
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle( String name,
String _interface,
@@ -131,7 +132,7 @@
* component.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public String getInterface() {
return _interface;
@@ -189,7 +190,7 @@
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public String getLifetime() {
return this._lifetime;
@@ -199,7 +200,7 @@
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle setLifetime( String _lifetime ) {
this._lifetime = _lifetime;
@@ -208,7 +209,7 @@
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public String getDescription() {
return this._description;
@@ -216,7 +217,7 @@
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle setDescription( String _description ) {
this._description = _description;
@@ -228,7 +229,7 @@
* initialization.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public PropertyManager getInitProperties() {
return this.initProperties;
@@ -237,7 +238,7 @@
/**
* @see #getInitProperties
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public ComponentHandle setInitProperties( PropertyManager initProperties ) {
this.initProperties = initProperties;
@@ -248,7 +249,7 @@
* Dump Handle information..
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public String toString() {
//FIXME: output the typeReference
@@ -258,12 +259,12 @@
/**
* @see Component
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public URI getTypeReference() {
if ( this.typeReference == null ) {
- typeReference = ReferenceFactory.getTypeReference( this );
+ typeReference = TypeReferenceFactory.getTypeReference( this );
}
return this.typeReference;
@@ -274,7 +275,7 @@
* Return a cloned ComponentHandle.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: ComponentHandle.java,v 1.12 2001/03/14 05:43:35 burton Exp $
+ * @version $Id: ComponentHandle.java,v 1.13 2001/03/15 01:33:38 burton Exp $
*/
public Object clone() {
*****************************************************************
File: talon/src/java/talon/HandleManager.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/HandleManager.java?annotate=1.8
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/HandleManager.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/HandleManager.java.diff?r1=1.8&r2=1.7
-----------------------------------
Index: talon/src/java/talon/HandleManager.java
diff -u talon/src/java/talon/HandleManager.java:1.7 talon/src/java/talon/HandleManager.java:1.8
--- talon/src/java/talon/HandleManager.java:1.7 Sun Mar 11 22:17:29 2001
+++ talon/src/java/talon/HandleManager.java Wed Mar 14 17:33:38 2001
@@ -13,7 +13,7 @@
import java.net.*;
import java.util.*;
import talon.implementations.SimplePropertyManager;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
/**
@@ -21,7 +21,7 @@
* them.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public class HandleManager extends BaseComponent {
@@ -64,7 +64,7 @@
* If the given handles does NOT already exist. Add it.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
private static void registerComponentHandle( SimplePropertyManager manager,
String key,
@@ -83,7 +83,7 @@
* Get a handle by its name
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static ComponentHandle byName( String _name )
throws TalonException {
@@ -103,7 +103,7 @@
* Get a handle by its interface
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static ComponentHandle byInterface( String _interface )
throws TalonException {
@@ -116,7 +116,7 @@
* Get a handle by its impl
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static ComponentHandle byImplementation( String _implementation )
throws TalonException {
@@ -135,7 +135,7 @@
* Get a specic registry.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
static PropertyManager getNameRegistry() {
return byName;
@@ -145,7 +145,7 @@
* Get a specic registry.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
static PropertyManager getInterfaceRegistry() {
return byInterface;
@@ -156,7 +156,7 @@
* Get a specic registry.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
static PropertyManager getImplementationRegistry() {
return byImplementation;
@@ -165,7 +165,7 @@
/**
* @see Dumpable
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static void dump() {
dump(System.out);
@@ -175,7 +175,7 @@
/**
* @see Dumpable
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: HandleManager.java,v 1.7 2001/03/12 06:17:29 burton Exp $
+ * @version $Id: HandleManager.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static void dump( PrintStream ps ) {
*****************************************************************
File: talon/src/java/talon/Initializer.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/Initializer.java?annotate=1.8
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/Initializer.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/Initializer.java.diff?r1=1.8&r2=1.7
-----------------------------------
Index: talon/src/java/talon/Initializer.java
diff -u talon/src/java/talon/Initializer.java:1.7 talon/src/java/talon/Initializer.java:1.8
--- talon/src/java/talon/Initializer.java:1.7 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/Initializer.java Wed Mar 14 17:33:38 2001
@@ -9,7 +9,7 @@
package talon;
-import talon.interfaces.*;
+import talon.components.*;
import talon.implementations.*;
import java.util.*;
@@ -18,7 +18,7 @@
* Handles intializing Talon and performing all startup procedures.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Initializer.java,v 1.7 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Initializer.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public class Initializer {
@@ -43,7 +43,7 @@
* Initialize Talon if necessary.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Initializer.java,v 1.7 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Initializer.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static void init() {
@@ -141,7 +141,7 @@
* Return true if Talon is initialized.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Initializer.java,v 1.7 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Initializer.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static boolean isInitialized() {
return initialized;
@@ -151,7 +151,7 @@
* Return true if Talon is working.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Initializer.java,v 1.7 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Initializer.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static boolean isWorking() {
return working;
@@ -161,7 +161,7 @@
* Return true if Talon should be initialized.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Initializer.java,v 1.7 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Initializer.java,v 1.8 2001/03/15 01:33:38 burton Exp $
*/
public static boolean shouldInitialize() {
return isWorking() == false && isInitialized() == false;
*****************************************************************
File: talon/src/java/talon/ReferenceFactory.java
This archive was generated by hypermail 2b30 : Wed Mar 14 2001 - 17:34:11 PST