This is my real world code, I'm just confused with the service id despite
reading the docs over and over. 

    public static void bind(ServiceBinder binder) {
        binder.bind(UserInfo.class, UserInfoImpl.class);
        binder.bind(AutocompleteCache.class, AutocompleteCacheImpl.class);
        binder.bind(Scheduler.class);
    }
    
    public static AutocompleteCache<ApplicationUser>
buildUserAutocompleteCache() {
        return new AutocompleteCacheImpl<ApplicationUser>() {};
    }
    
    public static AutocompleteCache<IfasvVendor>
buildIfasAutocompleteCache() {
        return new AutocompleteCacheImpl<IfasvVendor>() {};
    }

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700732.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

Reply via email to