Hello everyone!

I want to do something like this (simplified)

public class someService {

  private Registry _registry;

  public void doSomething(String sPoint, Object obj) {

  SomeInterface worker = _registry.getService(sPoint, someInterface.class);
  worker.doTheWork(obj);

  }

  ... getter/setter ....

}

someService is a service constructed by the registry and has a property holding 
the registry again ... is this possible?
Or is there another way to do something like this?

Thanks for any suggestions!

Reply via email to