Examples of members()


Examples of akka.cluster.ClusterEvent.CurrentClusterState.members()

  @Override
  public void onReceive(Object message) {
    if (message instanceof CurrentClusterState) {
      CurrentClusterState state = (CurrentClusterState) message;
      log.info("Current members: {}", state.members());

    } else if (message instanceof MemberUp) {
      MemberUp mUp = (MemberUp) message;
      log.info("Member is Up: {}", mUp.member());
View Full Code Here

Examples of com.ecyrd.jspwiki.auth.authorize.Group.members()

    public void testParseGroup() throws WikiSecurityException
    {
        String members = "Biff";
        Group group = m_groupMgr.parseGroup( "Group1", members, true );
        assertEquals( 1, group.members().length );
        assertTrue ( group.isMember( new WikiPrincipal( "Biff" ) ) );

        members = "Biff \n SteveAustin \n FredFlintstone";
        group = m_groupMgr.parseGroup( "Group2", members, true );
        assertEquals( 3, group.members().length );
View Full Code Here

Examples of com.evasion.sam.jaas.EvasionGroup.members()

            LOGGER.fine("Principal utilisé: " + tmp);
            if (p instanceof EvasionGroup && "Roles".equals(tmp)) {

                EvasionGroup evasionGroup = (EvasionGroup) p;

                for (Principal grp : Collections.list(evasionGroup.members())) {
                    groups.add(grp.getName());
                    LOGGER.fine("Groupe associe: " + grp.getName());

                }
                assignedGroups = new String[groups.size()];
View Full Code Here

Examples of com.life.audiotageditor.model.AudioFolder.members()

    AudioFolder audioFolder = (AudioFolder) audioModel.getFolder(StringUtil
        .formatPath(path));
    audioView.getTreeViewer().setInput(audioFolder);
    audioView.getTreeViewer().setSelection(
        new StructuredSelection(audioFolder.members()[0]), true);
    return null;
  }

  private String openFolderDialog(IWorkbenchWindow window) {
    DirectoryDialog dialog = new DirectoryDialog(window.getShell(),
View Full Code Here

Examples of com.life.audiotageditor.model.IAudioFolder.members()

  @Test
  public void workspaceTest() {
    AudioModel root = (AudioModel) AudioModelManager.instance().getRoot();
    IAudioFolder audioFolder = root.getFolder("D:/mp3/"); //$NON-NLS-1$

    AudioModel[] audioModels = (AudioModel[]) audioFolder.members();
    for (AudioModel audioModel : audioModels) {

      if (audioModel instanceof AudioFolder) {
        AudioModel[] audioMo = (AudioModel[]) ((AudioFolder) audioModel)
            .members();
View Full Code Here

Examples of com.sun.tools.corba.se.idl.StructEntry.members()

    else if (entry instanceof StructEntry)
    {
      StructEntry s = (StructEntry)entry;

      // Look through the members
      Enumeration members = s.members ().elements ();
      while (members.hasMoreElements ())
      {
        SymtabEntry member = (TypedefEntry)members.nextElement ();
        // <d48034> Need to add helper name for typedef members.  This name
        // is referenced at typecode generation in Helper class.
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.dtd.bindinfo.BIInterface.members()

        // and populate its expression according to the members attribute.
        for( Map.Entry<BIInterface,JClass> e : decls.entrySet() ) {
            BIInterface decl = e.getKey();
            JClass c = e.getValue();

            for (String member : decl.members()) {
                InterfaceAcceptor acc = fromName.get(member);
                if (acc == null) {
                    // there is no such class/interface
                    // TODO: error location
                    error(decl.getSourceLocation(),
View Full Code Here

Examples of com.sun.tools.javac.code.Symbol.members()

    /**
     * {@inheritDoc}
     */
    public FilteredMemberList getAllMembers(TypeElement element) {
        Symbol sym = cast(Symbol.class, element);
        Scope scope = sym.members().dupUnshared();
        List<Type> closure = types.closure(sym.asType());
        for (Type t : closure)
            addMembers(scope, t);
        return new FilteredMemberList(scope);
    }
View Full Code Here

Examples of com.sun.tools.javac.code.Symbol.PackageSymbol.members()

                ceylonPkg.complete();
                /*
                 * Eventually this will go away as we get a hook from the typechecker to load on demand, but
                 * for now the typechecker requires at least ceylon.language to be loaded
                 */
                for(Symbol m : ceylonPkg.members().getElements()){
                    // skip things that are not classes (perhaps package-info?)
                    if(!(m instanceof ClassSymbol))
                        continue;
                    ClassSymbol enclosingClass = getEnclosing((ClassSymbol) m);

View Full Code Here

Examples of com.sun.tools.javac.code.Symbol.TypeSymbol.members()

  public static MethodSymbol findSuperMethod(MethodSymbol method, Types types) {
    TypeSymbol superClass = method.enclClass().getSuperclass().tsym;
    if (superClass == null) {
      return null;
    }
    for (Symbol sym : superClass.members().getElements()) {
      if (sym.name.contentEquals(method.name)
          && method.overrides(sym, superClass, types, true)) {
        return (MethodSymbol) sym;
      }
    }
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.