And here, another version of custom configurator, where Jersey is the CDI implementation.
public class CdiAwareConfigurator extends ServerEndpointConfig.Configurator { public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException { return CDI.current().select(endpointClass).get(); } } Does the Tapestry 5 IoC/DI layer also support acquiring of an instance of a ServerEndpoint service class? This seems to be the approach of several other frameworks. Chris. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org