openamf/src/java/org/openamf AdvancedGateway.java,1.28,1.29
[email protected] Sat, 29 Nov 2003 22:26:11 -0800
| Newsgroups | gmane.comp.java.openamf.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openamf/openamf/src/java/org/openamf
In directory sc8-pr-cvs1:/tmp/cvs-serv18764/src/java/org/openamf
Modified Files:
AdvancedGateway.java
Log Message:
minor code tweaks
Index: AdvancedGateway.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/AdvancedGateway.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** AdvancedGateway.java 16 Aug 2003 03:31:12 -0000 1.28
--- AdvancedGateway.java 30 Nov 2003 06:26:09 -0000 1.29
***************
*** 49,58 ****
ServiceMethodConfig methodConfig = getMethodConfig(serviceConfig, request);
// abort if no method config is found. This allows us to restrict
! // access to the service in the openamf confguration.
if (methodConfig == null) {
NoSuchMethodException e =
new NoSuchMethodException(request.getRequestBody().toString());
! log.warn("Method Not Found: "+ request.getRequestBody().toString());
throw e;
}
--- 49,58 ----
ServiceMethodConfig methodConfig = getMethodConfig(serviceConfig, request);
// abort if no method config is found. This allows us to restrict
! // access to the service in the openamf configuration.
if (methodConfig == null) {
NoSuchMethodException e =
new NoSuchMethodException(request.getRequestBody().toString());
! log.warn("Method config not found: "+ request.getRequestBody().toString());
throw e;
}
***************
*** 238,242 ****
ServiceMethodConfig smc = (ServiceMethodConfig) smcs.next();
String smcName = smc.getName();
! log.debug("soc name: " + smcName);
if ("*".equals(smcName)
|| smcName.equals(request.getServiceMethodName())) {
--- 238,242 ----
ServiceMethodConfig smc = (ServiceMethodConfig) smcs.next();
String smcName = smc.getName();
! log.debug("service method config name: " + smcName);
if ("*".equals(smcName)
|| smcName.equals(request.getServiceMethodName())) {
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/