Examples of CellResourceManager


Examples of org.jdesktop.wonderland.server.cell.CellResourceManager

            logger.warning("ID " + message.getClientID() + " not found.");
            return new ErrorResource();
        }

        // now find the resource to check for permissions on this cell
        CellResourceManager crm = AppContext.getManager(CellResourceManager.class);
        Resource cellResource = crm.getCellResource(message.getCellID());
        if (cellResource == null) {
            logger.warning("No resource for cell " + message.getCellID());
           
            // there is no security on this cell, so allow anyone to
            // connect
View Full Code Here

Examples of org.jdesktop.wonderland.server.cell.CellResourceManager

    }

    private void cellEntered(CellID cellID, String callId) {
        // get the security manager
        SecurityManager security = AppContext.getManager(SecurityManager.class);
        CellResourceManager crm = AppContext.getManager(CellResourceManager.class);

        // create a request
        Action viewAction = new ViewAction();
        Resource resource = crm.getCellResource(this.cellID);
        if (resource != null) {
            // there is security on this cell perform the enter notification
            // securely
            ActionMap am = new ActionMap(resource, new Action[] { viewAction });
            ResourceMap request = new ResourceMap();
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.