Update of /cvsroot/openamf/openamf/src/java/org/openamf
In directory sc8-pr-cvs1:/tmp/cvs-serv28107/src/java/org/openamf
Modified Files:
AdvancedGateway.java
Log Message:
fixed variable names and comments, translators were renamed to filters
Index: AdvancedGateway.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/AdvancedGateway.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** AdvancedGateway.java 21 May 2003 01:36:59 -0000 1.12
--- AdvancedGateway.java 25 May 2003 00:08:30 -0000 1.13
***************
*** 200,204 ****
private Object filterResult(
Object serviceResult,
! FilterConfig translatorConfig)
throws
ClassNotFoundException,
--- 200,204 ----
private Object filterResult(
Object serviceResult,
! FilterConfig filterConfig)
throws
ClassNotFoundException,
***************
*** 208,220 ****
log.debug(
! "loading translator class: " + translatorConfig.getClassName());
! Class translatorClass =
Thread.currentThread().getContextClassLoader().loadClass(
! translatorConfig.getClassName());
! ResultFilter resultFilter = (ResultFilter) translatorClass.newInstance();
! log.debug("calling translate");
! return resultFilter.filter(serviceResult, translatorConfig);
}
--- 208,220 ----
log.debug(
! "loading filter class: " + filterConfig.getClassName());
! Class filterClass =
Thread.currentThread().getContextClassLoader().loadClass(
! filterConfig.getClassName());
! ResultFilter resultFilter = (ResultFilter) filterClass.newInstance();
! log.debug("calling filter");
! return resultFilter.filter(serviceResult, filterConfig);
}
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.