Remove obsolute methods

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@950785 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
rfeng 2010-06-02 21:53:40 +00:00
parent 7f7fde84ff
commit b9d8da90eb
4 changed files with 0 additions and 55 deletions

View file

@ -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

View file

@ -166,11 +166,4 @@ public class JavaImplementationProvider implements ScopedImplementationProvider
return implementation.isEagerInit();
}
public long getMaxAge() {
return implementation.getMaxAge();
}
public long getMaxIdleTime() {
return implementation.getMaxIdleTime();
}
}

View file

@ -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);
}

View file

@ -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;
}
}