avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/store ComponentStore.java
Date Sun, 25 Aug 2002 12:10:51 GMT
donaldp     2002/08/25 05:10:51

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/store
                        ComponentStore.java
  Log:
  Entry to profile.
  
  Revision  Changes    Path
  1.5       +8 -8      jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/store/ComponentStore.java
  
  Index: ComponentStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/store/ComponentStore.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ComponentStore.java	25 Aug 2002 01:37:45 -0000	1.4
  +++ ComponentStore.java	25 Aug 2002 12:10:51 -0000	1.5
  @@ -12,7 +12,7 @@
   import java.util.HashMap;
   import java.util.List;
   import java.util.Map;
  -import org.apache.excalibur.containerkit.kernel.ComponentEntry;
  +import org.apache.excalibur.containerkit.registry.ComponentProfile;
   
   /**
    *
  @@ -101,10 +101,10 @@
        *
        * @param component the component
        */
  -    public void addComponent( final ComponentEntry component )
  +    public void addComponent( final ComponentProfile component )
       {
           final String name =
  -            component.getProfile().getMetaData().getName();
  +            component.getMetaData().getName();
           m_components.put( name, component );
       }
   
  @@ -113,10 +113,10 @@
        *
        * @param component the component
        */
  -    public void removeComponent( final ComponentEntry component )
  +    public void removeComponent( final ComponentProfile component )
       {
           final String name =
  -            component.getProfile().getMetaData().getName();
  +            component.getMetaData().getName();
           m_components.remove( name );
       }
   
  @@ -125,9 +125,9 @@
        *
        * @return a component with specified name
        */
  -    public ComponentEntry getComponent( final String name )
  +    public ComponentProfile getComponent( final String name )
       {
  -        return (ComponentEntry)m_components.get( name );
  +        return (ComponentProfile)m_components.get( name );
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message