package io.craft.armor;

import io.craft.armor.api.Armor;

import org.springframework.stereotype.Service;

/**
 * @author mindwind
 * @version 1.0, Dec 18, 2014
 */
@Armor
@Service("demoService2")
public class DemoServiceImpl2 extends DemoServiceImpl {
	
	

	@Override
	public String echo(String in) {
		return in + in;
	}

}

@@ -224,14 +224,17 @@
 pl2 
-extend
+implement
 s De
@@ -246,18 +246,77 @@
 vice
-Impl
  %7B%0A%09%0A%09
+@Override%0A%09public String echo(String in) %7B%0A%09%09return in + in;%0A%09%7D
 %0A%0A%09@
@@ -335,32 +335,39 @@
 blic String echo
+Cascade
 (String in) %7B%0A%09%09
@@ -373,23 +373,261 @@
 %09return 
-in + in;%0A%09
+null;%0A%09%7D%0A%0A%09@Override%0A%09public int echo(int i) %7B%0A%09%09return 0;%0A%09%7D%0A%0A%09@Override%0A%09public boolean isOk() %7B%0A%09%09return false;%0A%09%7D%0A%0A%09@Override%0A%09public void timeout(int timeoutInMillis) %7B%7D%0A%0A%09@Override%0A%09public void throwException() throws IllegalAccessException %7B
 %7D%0A%0A%7D%0A

fix - unit test for armor transfer