diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-02 21:53:40 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-02 21:53:40 +0000 |
commit | b9d8da90ebb3ba4da861bdebb8a83023eca19af2 (patch) | |
tree | 3d5ec7b3fd7c55f942fb1574e90922e975935c85 /sca-java-2.x/branches | |
parent | 7f7fde84ff86eb56fbf3a1eb5cbae1c2674b88d9 (diff) |
Remove obsolute methods
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@950785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/branches')
4 files changed, 0 insertions, 55 deletions
diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java index dd1032428f..ee55917f2f 100644 --- a/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ScopedImplementationProvider.java @@ -45,16 +45,6 @@ public interface ScopedImplementationProvider extends ImplementationProvider { * otherwise */ boolean isEagerInit(); - - /** - * @return the maxAge - */ - long getMaxAge(); - - /** - * @return the maxIdleTime - */ - long getMaxIdleTime(); /** * Create a wrapper for the component instance for the scope management diff --git a/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 b/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 index 55765ef6e4..3cee156d76 100644 --- a/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 +++ b/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 @@ -166,11 +166,4 @@ public class JavaImplementationProvider implements ScopedImplementationProvider return implementation.isEagerInit(); } - public long getMaxAge() { - return implementation.getMaxAge(); - } - - public long getMaxIdleTime() { - return implementation.getMaxIdleTime(); - } } diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java b/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java index d3c9c16f48..60649eb5d6 100644 --- a/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java +++ b/sca-java-2.x/branches/sca-java-2.0-M5/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/JavaImplementation.java @@ -161,24 +161,4 @@ public interface JavaImplementation extends BaseJavaImplementation { */ 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); - } diff --git a/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 b/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 index 9e4c2eb8f4..5f7885ed5d 100644 --- a/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 +++ b/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 @@ -51,8 +51,6 @@ public class JavaImplementationImpl extends BaseJavaImplementationImpl implement 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 extends BaseJavaImplementationImpl implement 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; - } - } |