Package org.jdesktop.wonderland.modules.security.server.service

Examples of org.jdesktop.wonderland.modules.security.server.service.CellResourceManagerInternal.updateCellResource()


            }

            // make sure this cell's parent is up-to-date
            CellResourceManagerInternal crmi =
                    AppContext.getManager(CellResourceManagerInternal.class);
            crmi.updateCellResource(cell.getCellID(), parentCellID);
        }

        public void componentChanged(CellMO cell, ChangeType type,
                                     CellComponentMO component)
        {
View Full Code Here


            // make sure this cell's actions are up-to-date
            CellResourceManagerInternal crmi =
                    AppContext.getManager(CellResourceManagerInternal.class);
            switch (type) {
                case ADDED:
                    crmi.updateCellResource(cell.getCellID(), component, true);
                    break;
                case REMOVED:
                    crmi.updateCellResource(cell.getCellID(), component, false);
                    break;
            }
View Full Code Here

            switch (type) {
                case ADDED:
                    crmi.updateCellResource(cell.getCellID(), component, true);
                    break;
                case REMOVED:
                    crmi.updateCellResource(cell.getCellID(), component, false);
                    break;
            }
        }

        public void cellRemoved(CellMO cell) {
View Full Code Here

        permissions.addAll(perms.getPermissions());

        // update the service cache
        CellResourceManagerInternal crmi =
                AppContext.getManager(CellResourceManagerInternal.class);
        crmi.updateCellResource(cellID, owners, permissions);

        // update the cell cache as well
        UniverseManager um = AppContext.getManager(UniverseManager.class);
        um.revalidateCell(cellRef.get());
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.