Skip to content

Instantly share code, notes, and snippets.

@remeniuk
Created December 26, 2011 16:58
Show Gist options
  • Save remeniuk/1521647 to your computer and use it in GitHub Desktop.
Save remeniuk/1521647 to your computer and use it in GitHub Desktop.
public class TestAssemblyFlow extends Flow {
...
public String fooOperation() {
StringBuffer buffer = new StringBuffer("");
buffer.append(((TestComponentA) getAssembly().
getComponentByType("TestComponentA")).fooComponentOperation());
buffer.append(((TestComponentB) getAssembly().
getComponentByType("TestComponentB")).fooComponentOperation());
return buffer.toString();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment