Examples of RoleFileWatcher


Examples of org.geoserver.security.file.RoleFileWatcher

                    if( resource == null ){
                        String path = Paths.path("security/role", name, fileConfig.getFileName());
                        resource = get(path);
                    }

                    RoleFileWatcher watcher = new RoleFileWatcher(resource, service, resource.lastmodified());
                    service.registerRoleLoadedListener(watcher);
                    watcher.start();

                    //register the watcher so we can kill it later
                    fileWatchers.add(watcher);
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.