Package net.jini.lookup

Examples of net.jini.lookup.JoinManager.modifyAttributes()


     */
    public void modifyAttributes(final Entry[] attrSetTemplates, final Entry[] attrSets) {
        JoinManager jMgr = getJoinManager();
        if(jMgr == null)
            return;
        jMgr.modifyAttributes(attrSetTemplates, attrSets);
    }

    /**
     * Get the <code>DiscoveryManager</code> for this <code>Joiner</code>
     * If the JoinManager is null, this method will rturn null
View Full Code Here


    }

    public void modifyLookupAttributes(Entry[] attrSetTemplates, Entry[] attrSets) {       
        JoinManager mgr = service.getJoinManager();
        if(mgr!=null) {
            mgr.modifyAttributes(attrSetTemplates, attrSets, true);
            if(snapshotHandler!=null) {
                try {
                    snapshotHandler.takeSnapshot();
                } catch(IOException ioe) {
                    logger.warn("Persisting Modified Lookup Attributes", ioe);
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.