Refresh Jaguar rolesTag(s): Jaguar/EAServer

import com.sybase.jaguar.servlet.ServletServiceHelper;
import com.sybase.jaguar.servlet.ServletServiceOperations;
import org.omg.CORBA.ORB;


private void refreshRoles() {
 try{
    Properties env = new Properties();
    ORB orb = null;
    com.sybase.jaguar.servlet.ServletService ss = null;
    env.put("org.omg.CORBA.ORBClass", "com.sybase.CORBA.ORB");
    orb = ORB.init(((String []) (null)), env);
    ss = ServletServiceHelper.narrow
       (orb.string_to_object("JaguarServlet/ServletService"));
    ss.refreshRoles();
    }
 catch(Exception e){
    e.printStackTrace();
    }
 }





If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]