|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.server.impl.plugins.LogTimingServerProxyPlugin
A ServerProxyPlugin logging configurable messages at start and finish of a server
service call.
| Nested Class Summary |
| Nested classes inherited from class com.sdm.quasar.client.core.server.impl.ServerProxyPlugin |
ServerProxyPlugin.ServerProxyPluginCallback |
| Constructor Summary | |
LogTimingServerProxyPlugin(int logSeverity,
java.lang.String logMessageStart,
java.lang.String logMessageFinish,
java.lang.String logMessageError)
Creates a new LogTimingServerProxyPlugin. |
|
| Method Summary | |
java.lang.String |
getLogMessageError()
Returns the String. |
java.lang.String |
getLogMessageFinish()
Returns the logging message pattern used at the end of a server service call. |
java.lang.String |
getLogMessageStart()
Returns the logging message pattern used at the start of a server service call. |
int |
getLogSeverity()
Returns the int. |
boolean |
hasServerService(java.lang.Class service,
ServerProxyPlugin.ServerProxyPluginCallback serverProxyPluginCallback)
Tests, whether a service is registered with the service manager. |
java.lang.Object |
processServerServiceCall(java.lang.Class serverInterface,
java.lang.reflect.Method method,
java.lang.Object[] args,
ServerProxyPlugin.ServerProxyPluginCallback serverProxyPluginCallback)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LogTimingServerProxyPlugin(int logSeverity,
java.lang.String logMessageStart,
java.lang.String logMessageFinish,
java.lang.String logMessageError)
LogTimingServerProxyPlugin.
| Method Detail |
public int getLogSeverity()
int.
public java.lang.String getLogMessageStart()
| Message parameters | ||
| Nr. | Type | Description |
| 0 | String |
The name of the interface called. |
| 1 | String |
The name of the method called. |
| 2 | String |
The arguments of the method call (limited to 1000 characters). |
| 3 | Date |
The start time of calling the server service. |
public java.lang.String getLogMessageFinish()
| Message parameters | ||
| Nr. | Type | Description |
| 0 | String |
The name of the interface called. |
| 1 | String |
The name of the method called. |
| 2 | String |
The arguments of the method call (limited to 1000 characters). |
| 3 | String |
The result of the method call (limited to 1000 characters). |
| 4 | Date |
The start time of calling the server service. |
| 5 | Long |
The duration of the server call (in milliseconds). |
public java.lang.String getLogMessageError()
String.
public boolean hasServerService(java.lang.Class service,
ServerProxyPlugin.ServerProxyPluginCallback serverProxyPluginCallback)
ServerProxyPlugin
hasServerService in interface ServerProxyPluginservice - the interface that defines the service
ServerProxyPlugin.hasServerService(java.lang.Class, com.sdm.quasar.client.core.server.impl.ServerProxyPlugin.ServerProxyPluginCallback)
public java.lang.Object processServerServiceCall(java.lang.Class serverInterface,
java.lang.reflect.Method method,
java.lang.Object[] args,
ServerProxyPlugin.ServerProxyPluginCallback serverProxyPluginCallback)
throws java.lang.Throwable
processServerServiceCall in interface ServerProxyPluginserverInterface - method - args - serverProxyPluginCallback - a ServerProxyPlugin.ServerProxyPluginCallback to access the
subsequent ServerProxyPlugins without knowing them
java.lang.ThrowableServerProxyPlugin.processServerServiceCall(java.lang.Class, java.lang.reflect.Method, java.lang.Object[], com.sdm.quasar.client.core.server.impl.ServerProxyPlugin.ServerProxyPluginCallback)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||