Author: rfeng
Date: Wed Jun  2 21:53:40 2010
New Revision: 950785

URL: http://svn.apache.org/viewvc?rev=950785&view=rev
Log:
Remove obsolute methods

Modified:
    
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java
    
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.java
    
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java
    
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.java

Modified: 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java?rev=950785&r1=950784&r2=950785&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java
 (original)
+++ 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java
 Wed Jun  2 21:53:40 2010
@@ -45,16 +45,6 @@ public interface ScopedImplementationPro
      *         otherwise
      */
     boolean isEagerInit();
-    
-    /**
-     * @return the maxAge
-     */
-    long getMaxAge();
-
-    /**
-     * @return the maxIdleTime
-     */
-    long getMaxIdleTime();    
 
     /**
      * Create a wrapper for the component instance for the scope management

Modified: 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.java
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.java?rev=950785&r1=950784&r2=950785&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.java
 (original)
+++ 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaImplementationProvider.java
 Wed Jun  2 21:53:40 2010
@@ -166,11 +166,4 @@ public class JavaImplementationProvider 
         return implementation.isEagerInit();
     }
 
-    public long getMaxAge() {
-        return implementation.getMaxAge();
-    }
-
-    public long getMaxIdleTime() {
-        return implementation.getMaxIdleTime();
-    }
 }

Modified: 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java?rev=950785&r1=950784&r2=950785&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java
 (original)
+++ 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java
 Wed Jun  2 21:53:40 2010
@@ -161,24 +161,4 @@ public interface JavaImplementation exte
      */
     void setJavaScope(JavaScopeImpl scope);
 
-    /**
-     * @return the maxAge
-     */
-    long getMaxAge();
-
-    /**
-     * @param maxAge the maxAge to set
-     */
-    void setMaxAge(long maxAge);
-
-    /**
-     * @return the maxIdleTime
-     */
-    long getMaxIdleTime();
-
-    /**
-     * @param maxIdleTime the maxIdleTime to set
-     */
-    void setMaxIdleTime(long maxIdleTime);
-
 }

Modified: 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.java
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.java?rev=950785&r1=950784&r2=950785&view=diff
==============================================================================
--- 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.java
 (original)
+++ 
tuscany/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaImplementationImpl.java
 Wed Jun  2 21:53:40 2010
@@ -51,8 +51,6 @@ public class JavaImplementationImpl exte
     private boolean eagerInit;
     private boolean allowsPassByReference;
     private List<Method> allowsPassByReferenceMethods = new 
ArrayList<Method>();
-    private long maxAge = -1;
-    private long maxIdleTime = -1;
     private JavaScopeImpl scope = JavaScopeImpl.STATELESS;
 
     protected JavaImplementationImpl() {
@@ -143,20 +141,4 @@ public class JavaImplementationImpl exte
         this.scope = scope;
     }
 
-    public long getMaxAge() {
-        return maxAge;
-    }
-
-    public void setMaxAge(long maxAge) {
-        this.maxAge = maxAge;
-    }
-
-    public long getMaxIdleTime() {
-        return maxIdleTime;
-    }
-
-    public void setMaxIdleTime(long maxIdleTime) {
-        this.maxIdleTime = maxIdleTime;
-    }
-
 }


Reply via email to