Examples of addIdentities()


Examples of tigase.disco.ServiceEntity.addIdentities()

      new ServiceIdentity("component", "generic", "Stanza Receiver"));
    serviceEntity.addFeatures(DEF_FEATURES);
    ServiceEntity com = new ServiceEntity(my_hostname, "commands",
      "Tasks management commands");
    com.addFeatures(DEF_FEATURES);
    com.addIdentities(
      new ServiceIdentity("automation", "command-list",
        "Tasks management commands"));
    serviceEntity.addItems(com);
    for (TaskCommandIfc comm: commands.values()) {
      ServiceEntity item =
View Full Code Here

Examples of tigase.disco.ServiceEntity.addIdentities()

    for (TaskCommandIfc comm: commands.values()) {
      ServiceEntity item =
              new ServiceEntity(my_hostname,
              comm.getNodeName(), comm.getDescription());
      item.addFeatures(CMD_FEATURES);
      item.addIdentities(new ServiceIdentity("automation", "command-node",
          comm.getDescription()));
      com.addItems(item);
    } // end of for (TaskCommandIfc comm: commands.values())

    admins = (String[])props.get(ADMINS_PROP_KEY);
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.