Package org.osgi.service.useradmin

Examples of org.osgi.service.useradmin.UserAdminListener


      ea.postEvent( getEvent() );
    }

    for (Enumeration en = listeners.elements(); en.hasMoreElements();) {
      ServiceReference sr = (ServiceReference) en.nextElement();
      UserAdminListener ual = (UserAdminListener) bc.getService(sr);
      if (ual != null) {
        try {
          ual.roleChanged(event);
        } catch (Throwable t) {
          log.error("[UserAdmin] Error while sending roleChanged event to"+sr,
                    t);
        }
      }
View Full Code Here


     * @throws java.lang.Exception
     */
    public ObjectName preRegister(MBeanServer server, ObjectName name)
            throws Exception {
        ac.getBundleContext().registerService(
                UserAdminListener.class.getName(), new UserAdminListener() {
                    public void roleChanged(UserAdminEvent e) {
                        um.notifyUserAdminEvent(e);
                    }
                }, null);
        try {
View Full Code Here

TOP

Related Classes of org.osgi.service.useradmin.UserAdminListener

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.