Revision 84bff3eb
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/org/springframework/remoting/httpinvoker/CachingHttpInvokerProxyFactoryBean.java | ||
---|---|---|
82 | 82 |
} |
83 | 83 |
} |
84 | 84 |
|
85 |
/** |
|
86 |
* @param invocation |
|
87 |
* @param originalInvocation |
|
88 |
* @return |
|
89 |
* @throws Exception |
|
90 |
*/ |
|
91 | 85 |
private RemoteInvocationResult handleGeneralRequest(RemoteInvocation invocation, |
92 | 86 |
MethodInvocation originalInvocation) throws Exception { |
93 | 87 |
RemoteInvocationResult invocationResult = doExecuteRequest(invocation, originalInvocation); |
... | ... | |
106 | 100 |
invocationResult = new RemoteInvocationResult(cdmEntitySessionManager().load(invocationResult.getValue(), false)); |
107 | 101 |
logger.debug("Entity cached without updating cached data" ); |
108 | 102 |
} |
109 |
|
|
110 | 103 |
} |
111 | 104 |
cache(invocation, invocationResult); |
112 | 105 |
return invocationResult; |
... | ... | |
116 | 109 |
|
117 | 110 |
} |
118 | 111 |
|
119 |
/** |
|
120 |
* @param invocation |
|
121 |
* @param originalInvocation |
|
122 |
* @return |
|
123 |
* @throws Exception |
|
124 |
*/ |
|
125 | 112 |
private RemoteInvocationResult handleTermRequest(RemoteInvocation invocation, MethodInvocation originalInvocation) |
126 | 113 |
throws Exception { |
127 | 114 |
RemoteInvocationResult invocationResult = null; |
... | ... | |
141 | 128 |
return invocationResult; |
142 | 129 |
} |
143 | 130 |
|
144 |
/** |
|
145 |
* @param invocation |
|
146 |
* @param originalInvocation |
|
147 |
* @return |
|
148 |
* @throws Exception |
|
149 |
*/ |
|
150 | 131 |
private RemoteInvocationResult doExecuteRequest(RemoteInvocation invocation, MethodInvocation originalInvocation) |
151 | 132 |
throws Exception { |
152 | 133 |
|
Also available in: Unified diff
cleanup