git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added setter injection to the class adapter.
[utils]
/
system
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
system
/
core
/
DefaultRequiredInterface.java
diff --git
a/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
b/system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
index e028342e9d2fa98528ec04e7ccc2dfd90ce59e39..9927b517f9c9accf0618fcfba2e4f065c09889ea 100644
(file)
--- a/
system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
+++ b/
system/general/src/main/java/org/wamblee/system/core/DefaultRequiredInterface.java
@@
-92,14
+92,6
@@
public class DefaultRequiredInterface implements RequiredInterface {
public void setProvider(ProvidedInterface aProvider) {
_provider = aProvider;
}
public void setProvider(ProvidedInterface aProvider) {
_provider = aProvider;
}
-
- @Override
- public <T> T getImplementation(Class<T> aClass) {
- if ( _provider == null ) {
- return null;
- }
- return (T)_provider.getImplementation();
- }
@Override
public boolean equals(Object obj) {
@Override
public boolean equals(Object obj) {