public interface TargetInterface {
public String save();
}
创建目标接口实现类
TargetInterfaceImpl
public class TargetInterfaceImpl implements TargetInterface{
@Override
public String save() {//连接点
System.out.println("目标对象的连接点...save执行了...");
return "保存完成";
}
}