Add test dependency and fix testcase
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684676 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc3266ac65
commit
cebf6560cb
2 changed files with 10 additions and 0 deletions
|
@ -43,6 +43,13 @@
|
|||
<version>1.4-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-contribution-xml</artifactId>
|
||||
<version>1.4-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-host-embedded</artifactId>
|
||||
|
|
|
@ -101,6 +101,9 @@ class WebImplementationImpl implements WebImplementation, ComponentPreProcessor
|
|||
* TODO: also support introspection and handle WEB-INF/web.componentType (spec line 503)
|
||||
*/
|
||||
public void preProcess(Component component) {
|
||||
if (!(component instanceof RuntimeComponent)) {
|
||||
return;
|
||||
}
|
||||
RuntimeComponent rtc = (RuntimeComponent) component;
|
||||
|
||||
for (Reference reference : rtc.getReferences()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue