Hello, Igniters.
Previous e-mail was with wrong topic '[email protected]' :)
I got a question what exactly IgniteServices#service(String name) is
supposed to return: reference to the object or a proxy for some reason like
IgniteServices#serviceProxy(…)? Vyacheslav D., can you tell me your opinion?
public interface MyService {
public void foo();
}
public class MyServiceImpl implements Service, MyService {
@Override public void foo(){ … }
public void bar(){ … };
}
// Is it required to support
MyServiceImpl srvc = ignite.services().service(“myService”);
srvc.foo();
srvc.bar();
// Or is the only correct way:
MyService srvc = ignite.services().service(“myService”);
srvc.foo();