git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started work on componentizing the current user management.
[utils]
/
system
/
spring
/
src
/
main
/
java
/
org
/
wamblee
/
system
/
spring
/
RequiredServiceBean.java
diff --git
a/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java
b/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java
index 6c18cc8ce8e776b454eb1a1ea251ecbc3d18ffd1..2e72f733825556002864917afda508e8acdf0e52 100644
(file)
--- a/
system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java
+++ b/
system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java
@@
-42,12
+42,13
@@
class RequiredServiceBean implements FactoryBean {
return;
}
}
return;
}
}
- throw new SystemAssemblyException("Cannot resolve
provid
ed component '" + aId + "'");
+ throw new SystemAssemblyException("Cannot resolve
requir
ed component '" + aId + "'");
}
@Override
public Object getObject() throws Exception {
}
@Override
public Object getObject() throws Exception {
- return _required.getImplementation(Object.class);
+ return SpringComponent.SCOPE.get().getInterfaceImplementation(
+ _required.getProvider(), Object.class);
}
@Override
}
@Override