Skip to content
Permalink
Browse files
This closes #1145
  • Loading branch information
ahgittin committed Jan 14, 2016
2 parents 1b0f29b + 13f0438 commit 289eb5b856d9c6eb0e9d18a3fa981eee59936c66
Showing 1 changed file with 2 additions and 0 deletions.
@@ -55,6 +55,7 @@
import org.apache.brooklyn.util.core.task.Tasks;
import org.apache.brooklyn.util.exceptions.Exceptions;
import org.apache.brooklyn.util.javalang.AggregateClassLoader;
import org.apache.brooklyn.util.javalang.Reflections;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@@ -99,6 +100,7 @@ public <T extends Entity> T createEntityProxy(EntitySpec<T> spec, T entity) {
interfaces.add(spec.getType());
} else {
log.warn("EntitySpec declared in terms of concrete type "+spec.getType()+"; should be supplied in terms of interface");
interfaces.addAll(Reflections.getAllInterfaces(spec.getType()));
}
interfaces.addAll(spec.getAdditionalInterfaces());

0 comments on commit 289eb5b

Please sign in to comment.