CVS: jcontainer/loom/engine/src/java/org/jcontainer/loom/components/util/info ComponentInfo.java,1.1,1.2 DependencyDescriptor.java,1.1,1.2 SchemaDescriptor.java,1.1,1.2 ServiceDescriptor.java,1.1,1.2
Peter Donald <pdonald-yCVjj/[email protected]> Sat, 29 Nov 2003 07:44:57 -0600
| Newsgroups | gmane.comp.java.jcontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jcontainer/jcontainer/loom/engine/src/java/org/jcontainer/loom/components/util/info
In directory hogshead.codehaus.org:/tmp/cvs-serv31016/loom/engine/src/java/org/jcontainer/loom/components/util/info
Modified Files:
ComponentInfo.java DependencyDescriptor.java
SchemaDescriptor.java ServiceDescriptor.java
Log Message:
Remove email addie
Index: ComponentInfo.java
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/loom/engine/src/java/org/jcontainer/loom/components/util/info/ComponentInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ComponentInfo.java 16 Oct 2003 14:45:46 -0000 1.1
+++ ComponentInfo.java 29 Nov 2003 13:44:23 -0000 1.2
@@ -10,42 +10,32 @@
import java.io.Serializable;
/**
- * This class contains the meta information about a particular
- * component type. It describes;
+ * This class contains the meta information about a particular component type.
+ * It describes;
*
- * <ul>
- * <li>Human presentable meta data such as name, version, description etc
- * useful when assembling the system.</li>
- * <li>the context object capabilities that this component requires</li>
- * <li>the services that this component type is capable of providing</li>
- * <li>the services that this component type requires to operate (and the
- * names via which services are accessed)</li>
+ * <ul> <li>Human presentable meta data such as name, version, description etc
+ * useful when assembling the system.</li> <li>the context object capabilities
+ * that this component requires</li> <li>the services that this component type
+ * is capable of providing</li> <li>the services that this component type
+ * requires to operate (and the names via which services are accessed)</li>
* </ul>
*
- * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
+ * @author Peter Donald
* @version $Revision$ $Date$
*/
public class ComponentInfo
implements Serializable
{
- /**
- * The type of the component.
- */
+ /** The type of the component. */
private final Class m_type;
- /**
- * Descriptors for the services exported by component.
- */
+ /** Descriptors for the services exported by component. */
private final ServiceDescriptor[] m_services;
- /**
- * Descriptor for the schema of components parameters.
- */
+ /** Descriptor for the schema of components parameters. */
private final SchemaDescriptor m_configurationSchema;
- /**
- * Descriptor for the service dependencies of component.
- */
+ /** Descriptor for the service dependencies of component. */
private final DependencyDescriptor[] m_dependencies;
/**
Index: DependencyDescriptor.java
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/loom/engine/src/java/org/jcontainer/loom/components/util/info/DependencyDescriptor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DependencyDescriptor.java 16 Oct 2003 14:45:46 -0000 1.1
+++ DependencyDescriptor.java 29 Nov 2003 13:44:23 -0000 1.2
@@ -8,59 +8,41 @@
package org.jcontainer.loom.components.util.info;
/**
- * A descriptor that describes dependency information for
- * a particular Component. This class contains information
- * about;
- * <ul>
- * <li>key: the name component uses to look up dependency</li>
- * <li>type: the class/interface that the dependency must provide</li>
- * </ul>
+ * A descriptor that describes dependency information for a particular
+ * Component. This class contains information about; <ul> <li>key: the name
+ * component uses to look up dependency</li> <li>type: the class/interface that
+ * the dependency must provide</li> </ul>
*
- * <p>Also associated with each dependency is a set of arbitrary
- * Attributes that can be used to store extra information
- * about dependency.</p>
+ * <p>Also associated with each dependency is a set of arbitrary Attributes that
+ * can be used to store extra information about dependency.</p>
*
- * <p>Possible uses for the Attributes are to declare container
- * specific constraints of component. For example a dependency on
- * a Corba ORB may also require that the Corba ORB contain the
- * TimeServer and PersistenceStateService at initialization. Or it
- * may require that the componenet be multi-thread safe or that
- * it is persistent etc. These are all container specific
- * demands.</p>
+ * <p>Possible uses for the Attributes are to declare container specific
+ * constraints of component. For example a dependency on a Corba ORB may also
+ * require that the Corba ORB contain the TimeServer and PersistenceStateService
+ * at initialization. Or it may require that the componenet be multi-thread safe
+ * or that it is persistent etc. These are all container specific demands.</p>
*
- * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
+ * @author Peter Donald
* @version $Revision$ $Date$
*/
public final class DependencyDescriptor
{
- /**
- * Constant with empty set of dependencys.
- */
+ /** Constant with empty set of dependencys. */
public static final DependencyDescriptor[] EMPTY_SET = new DependencyDescriptor[ 0 ];
- /**
- * The postfix indicating an array type.
- */
+ /** The postfix indicating an array type. */
public static final String ARRAY_POSTFIX = "[]";
- /**
- * The postfix indicating a "Map" type.
- */
+ /** The postfix indicating a "Map" type. */
public static final String MAP_POSTFIX = "{}";
- /**
- * The name the component uses to lookup dependency.
- */
+ /** The name the component uses to lookup dependency. */
private final String m_key;
- /**
- * The service class/interface that the dependency must provide.
- */
+ /** The service class/interface that the dependency must provide. */
private final String m_type;
- /**
- * True if dependency is optional, false otherwise.
- */
+ /** True if dependency is optional, false otherwise. */
private final boolean m_optional;
/**
@@ -95,11 +77,11 @@
}
/**
- * Return the service class/interface name that describes the
- * dependency must fulfilled by a provider.
+ * Return the service class/interface name that describes the dependency
+ * must fulfilled by a provider.
*
* @return a reference to service descriptor that describes the fulfillment
- * obligations that must be met by a service provider.
+ * obligations that must be met by a service provider.
*/
public String getType()
{
@@ -137,9 +119,8 @@
}
/**
- * Return the type of component type if the service
- * is an array or Map Service. Otherwise just return the
- * name of service.
+ * Return the type of component type if the service is an array or Map
+ * Service. Otherwise just return the name of service.
*
* @return the Service component type
*/
Index: SchemaDescriptor.java
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/loom/engine/src/java/org/jcontainer/loom/components/util/info/SchemaDescriptor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- SchemaDescriptor.java 16 Oct 2003 14:45:46 -0000 1.1
+++ SchemaDescriptor.java 29 Nov 2003 13:44:23 -0000 1.2
@@ -8,32 +8,25 @@
package org.jcontainer.loom.components.util.info;
/**
- * A descriptor describing the schema to validate the components
- * {@link org.apache.avalon.framework.parameters.Parameters} or
- * {@link org.apache.avalon.framework.configuration.Configuration}
- * object. If a component is neither
- * {@link org.apache.avalon.framework.parameters.Parameterizable}
- * nor {@link org.apache.avalon.framework.configuration.Configurable}
- * then this descriptor will hold empty values for location, category
- * and type.
+ * A descriptor describing the schema to validate the components {@link
+ * org.apache.avalon.framework.parameters.Parameters} or {@link
+ * org.apache.avalon.framework.configuration.Configuration} object. If a
+ * component is neither {@link org.apache.avalon.framework.parameters.Parameterizable}
+ * nor {@link org.apache.avalon.framework.configuration.Configurable} then this
+ * descriptor will hold empty values for location, category and type.
*
- * <p>Associated with each Schema is a set of arbitrary
- * Attributes that can be used to store extra information
- * about Schema requirements.</p>
+ * <p>Associated with each Schema is a set of arbitrary Attributes that can be
+ * used to store extra information about Schema requirements.</p>
*
- * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
+ * @author Peter Donald
* @version $Revision$ $Date$
*/
public class SchemaDescriptor
{
- /**
- * The location of schema relative to component.
- */
+ /** The location of schema relative to component. */
private final String m_location;
- /**
- * The type of the schema.
- */
+ /** The type of the schema. */
private final String m_type;
/**
@@ -69,9 +62,8 @@
}
/**
- * Return the type of the schema.
- * Usually represented as a URI referring to schema
- * namespace declaration.
+ * Return the type of the schema. Usually represented as a URI referring to
+ * schema namespace declaration.
*
* @return the type of the schema
*/
Index: ServiceDescriptor.java
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/loom/engine/src/java/org/jcontainer/loom/components/util/info/ServiceDescriptor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ServiceDescriptor.java 16 Oct 2003 14:45:46 -0000 1.1
+++ ServiceDescriptor.java 29 Nov 2003 13:44:23 -0000 1.2
@@ -8,34 +8,29 @@
package org.jcontainer.loom.components.util.info;
/**
- * This descriptor defines the type of service offerend or required
- * by a component. The type corresponds to the class name of the
- * class/interface implemented by component.
+ * This descriptor defines the type of service offerend or required by a
+ * component. The type corresponds to the class name of the class/interface
+ * implemented by component.
*
- * <p>Also associated with each service is a set of arbitrary
- * Attributes that can be used to store extra information
- * about service.</p>
+ * <p>Also associated with each service is a set of arbitrary Attributes that
+ * can be used to store extra information about service.</p>
*
- * <p>Possible uses for the Attributes are to declare a service
- * as "stateless", "pass-by-value", "remotable" or even to attach
- * Attributes such as security or transaction constraints. These
- * Attributes are container specific and should not be relied
- * upon to work in all containers.</p>
+ * <p>Possible uses for the Attributes are to declare a service as "stateless",
+ * "pass-by-value", "remotable" or even to attach Attributes such as security or
+ * transaction constraints. These Attributes are container specific and should
+ * not be relied upon to work in all containers.</p>
*
- * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
+ * @author Peter Donald
* @version $Revision$ $Date$
*/
public final class ServiceDescriptor
{
- /**
- * Constant set of 0 service descriptors.
- */
+ /** Constant set of 0 service descriptors. */
public static final ServiceDescriptor[] EMPTY_SET = new ServiceDescriptor[ 0 ];
/**
- * The implementationKey for the service.
- * This usually indicates the name of the service
- * class.
+ * The implementationKey for the service. This usually indicates the name of
+ * the service class.
*/
private final String m_type;