portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components ComponentManager.java ComponentManagement.java
Date Mon, 23 Feb 2004 13:12:02 GMT
weaver      2004/02/23 05:12:02

  Modified:    components/cm/src/java/org/apache/jetspeed/components
                        ComponentManager.java ComponentManagement.java
  Log:
  component key changed from String to Object
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/ComponentManager.java
  
  Index: ComponentManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/ComponentManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ComponentManager.java	22 Feb 2004 20:39:16 -0000	1.2
  +++ ComponentManager.java	23 Feb 2004 13:12:01 -0000	1.3
  @@ -152,7 +152,7 @@
       /**
        * @see org.apache.jetspeed.components.ComponentManagement#getComponent(java.lang.String)
        */
  -    public Object getComponent(String componentName)
  +    public Object getComponent(Object componentName)
       {        
           
           return getRootContainer().getComponentInstance(componentName);
  @@ -174,7 +174,7 @@
       /**
        * @see org.apache.jetspeed.components.ComponentManagement#getComponent(java.lang.String,
java.lang.String)
        */
  -    public Object getComponent(String containerName, String componentName)
  +    public Object getComponent(Object containerName, Object componentName)
       {
            MutablePicoContainer container = (MutablePicoContainer) getRootContainer().getComponentInstance(containerName);
            if(container != null)
  
  
  
  1.2       +3 -3      jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/ComponentManagement.java
  
  Index: ComponentManagement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/cm/src/java/org/apache/jetspeed/components/ComponentManagement.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ComponentManagement.java	21 Feb 2004 03:51:33 -0000	1.1
  +++ ComponentManagement.java	23 Feb 2004 13:12:01 -0000	1.2
  @@ -61,8 +61,8 @@
    */
   public interface ComponentManagement
   {
  -    Object getComponent(String componentName);
  +    Object getComponent(Object componentName);
       
  -    Object getComponent(String containerName, String componentName);
  +    Object getComponent(Object containerName, Object componentName);
       
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message