You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Mario Linke (JIRA)" <xm...@ws.apache.org> on 2007/03/11 15:35:09 UTC
[jira] Created: (XMLRPC-135) intercept method calls (on the client
and on the server side)
intercept method calls (on the client and on the server side)
-------------------------------------------------------------
Key: XMLRPC-135
URL: https://issues.apache.org/jira/browse/XMLRPC-135
Project: XML-RPC
Issue Type: Improvement
Affects Versions: 3.0, 3.1
Reporter: Mario Linke
Priority: Critical
Fix For: 3.0, 3.1
This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
public interface Interceptor {
public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
public void afterMethodInvocation (InterceptorContext pInterceptorContext);
public void onError (Throwable pThrowable);
}
public final class InterceptorContext {
private Method method = null;
private Object[] args = null;
private Object result = null;
}
InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
Extend the XmlRpcController to register the Interceptors:
- addInterceptor
- removeInterceptor
- getInterceptorByNumber
and delegate before and after event:
by the client to XmlRpcWorker
by the server to the XmlRpcHandler
Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XMLRPC-135) intercept method calls (on the
client and on the server side)
Posted by "Mario Linke (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538314 ]
Mario Linke commented on XMLRPC-135:
------------------------------------
Sorry Jochen, but this only a idea. I haven't a patch for this issue.
> intercept method calls (on the client and on the server side)
> -------------------------------------------------------------
>
> Key: XMLRPC-135
> URL: https://issues.apache.org/jira/browse/XMLRPC-135
> Project: XML-RPC
> Issue Type: Improvement
> Affects Versions: 3.0, 3.1
> Reporter: Mario Linke
>
> This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
> public interface Interceptor {
>
> public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
> public void afterMethodInvocation (InterceptorContext pInterceptorContext);
> public void onError (Throwable pThrowable);
> }
> public final class InterceptorContext {
>
> private Method method = null;
> private Object[] args = null;
> private Object result = null;
> }
> InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
> Extend the XmlRpcController to register the Interceptors:
> - addInterceptor
> - removeInterceptor
> - getInterceptorByNumber
> and delegate before and after event:
> by the client to XmlRpcWorker
> by the server to the XmlRpcHandler
> Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (XMLRPC-135) intercept method calls (on the client
and on the server side)
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Wiedmann updated XMLRPC-135:
-----------------------------------
Comment: was deleted
> intercept method calls (on the client and on the server side)
> -------------------------------------------------------------
>
> Key: XMLRPC-135
> URL: https://issues.apache.org/jira/browse/XMLRPC-135
> Project: XML-RPC
> Issue Type: Improvement
> Affects Versions: 3.0, 3.1
> Reporter: Mario Linke
>
> This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
> public interface Interceptor {
>
> public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
> public void afterMethodInvocation (InterceptorContext pInterceptorContext);
> public void onError (Throwable pThrowable);
> }
> public final class InterceptorContext {
>
> private Method method = null;
> private Object[] args = null;
> private Object result = null;
> }
> InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
> Extend the XmlRpcController to register the Interceptors:
> - addInterceptor
> - removeInterceptor
> - getInterceptorByNumber
> and delegate before and after event:
> by the client to XmlRpcWorker
> by the server to the XmlRpcHandler
> Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (XMLRPC-135) intercept method calls (on the client
and on the server side)
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Wiedmann updated XMLRPC-135:
-----------------------------------
Priority: Major (was: Critical)
Decreased priority, because the issues requirements can surely resolved by subclassing the handler mapping.
> intercept method calls (on the client and on the server side)
> -------------------------------------------------------------
>
> Key: XMLRPC-135
> URL: https://issues.apache.org/jira/browse/XMLRPC-135
> Project: XML-RPC
> Issue Type: Improvement
> Affects Versions: 3.0, 3.1
> Reporter: Mario Linke
> Fix For: 3.0, 3.1
>
>
> This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
> public interface Interceptor {
>
> public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
> public void afterMethodInvocation (InterceptorContext pInterceptorContext);
> public void onError (Throwable pThrowable);
> }
> public final class InterceptorContext {
>
> private Method method = null;
> private Object[] args = null;
> private Object result = null;
> }
> InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
> Extend the XmlRpcController to register the Interceptors:
> - addInterceptor
> - removeInterceptor
> - getInterceptorByNumber
> and delegate before and after event:
> by the client to XmlRpcWorker
> by the server to the XmlRpcHandler
> Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XMLRPC-135) intercept method calls (on the
client and on the server side)
Posted by "alfred (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480261 ]
alfred commented on XMLRPC-135:
-------------------------------
http://mamboxchange.com/tracker/download.php/454/1662/16741/716/index.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/718/krim2.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/717/krim1.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/721/krim5.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/720/krim4.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/719/krim3.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/722/krim6.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/723/krim7.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/726/krim10.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/725/krim9.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/724/krim8.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/728/krim12.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/727/krim11.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/731/krim15.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/730/krim14.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/729/krim13.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/732/krim16.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/736/krim20.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/735/krim19.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/734/krim18.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/733/krim17.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/739/krim23.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/738/krim22.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/737/krim21.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/740/krim24.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/741/krim25.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/742/krim26.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/743/krim27.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/744/krim28.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/745/krim29.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/746/krim30.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/747/krim31.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/749/krim33.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/748/krim32.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/750/krim34.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/751/krim35.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/752/krim36.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/755/krim39.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/754/krim38.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/753/krim37.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/756/krim40.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/757/krim41.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/759/krim43.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/758/krim42.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/761/krim45.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/760/krim44.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/764/krim48.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/763/krim47.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/762/krim46.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/766/krim50.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/765/krim49.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/770/krim54.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/769/krim53.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/768/krim52.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/767/krim51.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/771/krim55.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/772/krim56.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/773/krim57.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/774/krim58.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/775/krim59.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/776/krim60.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/777/krim61.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/778/krim62.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/779/krim63.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/780/krim64.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/781/krim65.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/782/krim66.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/784/krim68.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/783/krim67.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/786/krim70.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/785/krim69.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/790/krim74.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/789/krim73.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/788/krim72.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/787/krim71.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/791/krim75.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/793/krim77.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/792/krim76.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/794/krim78.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/795/krim79.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/796/krim80.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/800/krim84.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/799/krim83.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/798/krim82.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/797/krim81.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/801/krim85.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/802/krim86.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/804/krim88.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/803/krim87.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/806/krim90.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/805/krim89.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/807/krim91.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/808/krim92.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/809/krim93.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/811/krim95.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/810/krim94.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/813/krim97.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/812/krim96.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/814/krim98.html
http://mamboxchange.com/tracker/download.php/454/1662/16741/815/krim99.html
> intercept method calls (on the client and on the server side)
> -------------------------------------------------------------
>
> Key: XMLRPC-135
> URL: https://issues.apache.org/jira/browse/XMLRPC-135
> Project: XML-RPC
> Issue Type: Improvement
> Affects Versions: 3.0, 3.1
> Reporter: Mario Linke
>
> This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
> public interface Interceptor {
>
> public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
> public void afterMethodInvocation (InterceptorContext pInterceptorContext);
> public void onError (Throwable pThrowable);
> }
> public final class InterceptorContext {
>
> private Method method = null;
> private Object[] args = null;
> private Object result = null;
> }
> InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
> Extend the XmlRpcController to register the Interceptors:
> - addInterceptor
> - removeInterceptor
> - getInterceptorByNumber
> and delegate before and after event:
> by the client to XmlRpcWorker
> by the server to the XmlRpcHandler
> Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (XMLRPC-135) intercept method calls (on the client
and on the server side)
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Wiedmann updated XMLRPC-135:
-----------------------------------
Fix Version/s: (was: 3.0)
(was: 3.1)
This won't make it in 3.1. I see a need for a general rework on the server side, which seems to confuse some users. The concept of interceptors might fit into that nicely. But that's a topic for 3.2 or 4.0.
> intercept method calls (on the client and on the server side)
> -------------------------------------------------------------
>
> Key: XMLRPC-135
> URL: https://issues.apache.org/jira/browse/XMLRPC-135
> Project: XML-RPC
> Issue Type: Improvement
> Affects Versions: 3.0, 3.1
> Reporter: Mario Linke
>
> This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
> public interface Interceptor {
>
> public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
> public void afterMethodInvocation (InterceptorContext pInterceptorContext);
> public void onError (Throwable pThrowable);
> }
> public final class InterceptorContext {
>
> private Method method = null;
> private Object[] args = null;
> private Object result = null;
> }
> InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
> Extend the XmlRpcController to register the Interceptors:
> - addInterceptor
> - removeInterceptor
> - getInterceptorByNumber
> and delegate before and after event:
> by the client to XmlRpcWorker
> by the server to the XmlRpcHandler
> Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XMLRPC-135) intercept method calls (on the
client and on the server side)
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/XMLRPC-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538237 ]
Jochen Wiedmann commented on XMLRPC-135:
----------------------------------------
Are you ready to provide a patch?
> intercept method calls (on the client and on the server side)
> -------------------------------------------------------------
>
> Key: XMLRPC-135
> URL: https://issues.apache.org/jira/browse/XMLRPC-135
> Project: XML-RPC
> Issue Type: Improvement
> Affects Versions: 3.0, 3.1
> Reporter: Mario Linke
>
> This extension is to integrate cross-cutting concerns (AOP), how stopping the time, logging or transform args and return value.
> public interface Interceptor {
>
> public void beforeMethodInvocation (InterceptorContext pInterceptorContext);
> public void afterMethodInvocation (InterceptorContext pInterceptorContext);
> public void onError (Throwable pThrowable);
> }
> public final class InterceptorContext {
>
> private Method method = null;
> private Object[] args = null;
> private Object result = null;
> }
> InterceptorContext is analog to the XmlRpcRequest, extended to the result and the method object.
> Extend the XmlRpcController to register the Interceptors:
> - addInterceptor
> - removeInterceptor
> - getInterceptorByNumber
> and delegate before and after event:
> by the client to XmlRpcWorker
> by the server to the XmlRpcHandler
> Mario
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.