Package org.cafesip.jiplet.jmxbeans

Examples of org.cafesip.jiplet.jmxbeans.RealmElement


                    Thread.currentThread().setContextClassLoader(cl);
                }

                if (rname.equals(realmName) == true)
                {
                    RealmElement element = new RealmElement();
                    element.setName(realmName);
                    element.setDefaultRealm(realm.isDefaultRealm());
                    element.setParams(realm.getParams());
                    element.setDeployDir((String) realmsDirMap.get(realmName));
                    return element;
                }
            }
        }
        return null;
View Full Code Here


    }

    public org.cafesip.jiplet.console.client.rpc.RealmElement viewRealmProperty(
            String realmName) throws Exception
    {
        RealmElement src = getRealmProperty(realmName);
        if (src == null)
        {
            throw new Exception("Realm not found");
        }

        if (src.getDeployDir() == null)
        {
            src.setDeployDir("System Realm");
        }

        org.cafesip.jiplet.console.client.rpc.RealmElement dest = new org.cafesip.jiplet.console.client.rpc.RealmElement();

        dest.setDefaultRealm(src.isDefaultRealm());
        dest.setDeployDir(src.getDeployDir());
        dest.setName(src.getName());
        dest.setParamsMap(src.getParams());
        return dest;
    }
View Full Code Here

TOP

Related Classes of org.cafesip.jiplet.jmxbeans.RealmElement

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.