Hello, In my AppModule It is starting External Thread, and i need to use service in this thread:
AppModule{ ... public static void bind(ServiceBinder binder){ binder.bind(ABCService.class, ABCServiceImpl.class); } @Startup public static void initialization(ApplicationGlobals applicationGlobals){ ApplicationContext appContext = WebApplicationContextUtils.getRequiredWebApplicationContext(context); ABCThread abcThread = new ABCThread(appContext); abcThread.start(); } ... } public class ABCThread extends Thread implements Runnable { .... } Is it possible to run ABCService in this external thread, without use it like a parameter in the thread constuctor(i have too many services)? Or is it possible to use like constructor parameter Registry or RegistryBuilder or something else??? Or is there any another static class, or utility... Thanks in advance for any suggestion. ...and sorry for my terrible english. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-To-Use-Service-in-External-Thread-tp3324943p3324943.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org