This commit is contained in:
@@ -163,7 +163,7 @@ public final class SncpClient {
|
||||
Method old = actionids.get(actionid);
|
||||
if (old != null) {
|
||||
if (old.getDeclaringClass().equals(method.getDeclaringClass()))
|
||||
throw new RuntimeException(serviceClass.getName() + " have one more same action(Method=" + method + ", actionid=" + actionid + ")");
|
||||
throw new RuntimeException(serviceClass.getName() + " have one more same action(Method=" + method + ", " + old + ", actionid=" + actionid + ")");
|
||||
continue;
|
||||
}
|
||||
actionids.put(actionid, method);
|
||||
|
||||
@@ -15,6 +15,7 @@ import javax.annotation.*;
|
||||
*
|
||||
* @author zhangjx
|
||||
*/
|
||||
@AutoLoad(false)
|
||||
public class DataSourceService implements DataSource, Service {
|
||||
|
||||
@Resource(name = "$")
|
||||
|
||||
@@ -173,7 +173,7 @@ public final class ResourceFactory {
|
||||
}
|
||||
if (ns == null) continue;
|
||||
if (ns.getClass().isPrimitive() || ns.getClass().isArray() || ns.getClass().getName().startsWith("java")) continue;
|
||||
if (flag) this.inject(ns, list);
|
||||
if (flag) this.inject(ns, attachment, list);
|
||||
continue;
|
||||
}
|
||||
if (Modifier.isFinal(field.getModifiers())) continue;
|
||||
|
||||
Reference in New Issue
Block a user