This commit is contained in:
@@ -1952,7 +1952,7 @@ public final class Rest {
|
||||
}
|
||||
if (listeners != null && !listeners.isEmpty()) {
|
||||
for (RestDyncListener listener : listeners) {
|
||||
listener.invoke(classLoader, userType, serviceType, method);
|
||||
listener.invoke(classLoader, userType, serviceType, method, entry.mappingurl);
|
||||
}
|
||||
}
|
||||
} // end for each
|
||||
|
||||
@@ -47,7 +47,8 @@ public interface RestDyncListener {
|
||||
* @param baseServletType Rest的Servlet基类
|
||||
* @param serviceType Service类
|
||||
* @param method Service的RestMapping方法
|
||||
* @param mappingurl HttpMapping对应的url
|
||||
*/
|
||||
public void invoke(final ClassLoader classLoader, final Class baseServletType,
|
||||
final Class<? extends Service> serviceType, final Method method);
|
||||
final Class<? extends Service> serviceType, final Method method, final String mappingurl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user