Examples of VoteService


Examples of com.caucho.env.vote.VoteService

  }

  private void initServer()
    throws ConfigException
  {
    VoteService voteService = VoteService.getCurrent();
   
    if (voteService == null)
      throw new ConfigException(L.l("'{0}' requires an active {1}",
                                    getClass().getSimpleName(),
                                    VoteService.class.getSimpleName()));

    _manager = voteService.getManager();

    if (_manager == null)
      throw new IllegalStateException(L.l("distributed vote manager not available"));
  }
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.