Package org.jayasoft.woj.client.services

Examples of org.jayasoft.woj.client.services.UserListener


    final ZippedFileCache cache = new ZippedFileCache(cacheDir);
    final LocalAssociation localAssociation = new LocalAssociation(cacheDir);
    WojServicesHelper.getDefault().setWojCache(cache);
    WojServicesHelper.getDefault().setLocalAsso(localAssociation);
    //Cleanup when user change
        WojServicesHelper.getDefault().addUserListener(new UserListener() {
          public void userChange(String newLogin) {
            cache.doCleanup();
            localAssociation.clearAll();
          }
    });
View Full Code Here

TOP

Related Classes of org.jayasoft.woj.client.services.UserListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.