MultiUserChatManager.isServiceRegistered
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.jivesoftware.openfire.muc.MultiUserChatManager.isServiceRegistered(Showing top 2 results out of 315)

origin: igniterealtime/Openfire

@Override
public void run() {
  // If it's registered already, no need to create it.  Most likely this is because the service
  // is provided by an internal component that registered at startup.  This scenario, however,
  // should really never occur.
  if (!XMPPServer.getInstance().getMultiUserChatManager().isServiceRegistered(subdomain)) {
    MultiUserChatService service = new MultiUserChatServiceImpl(subdomain, description, isHidden);
    XMPPServer.getInstance().getMultiUserChatManager().registerMultiUserChatService(service);
  }
}
origin: igniterealtime/Openfire

boolean serviceRegistered = XMPPServer.getInstance().getMultiUserChatManager().isServiceRegistered(serviceName);
if(!serviceRegistered) {
  XMPPServer.getInstance().getMultiUserChatManager().createMultiUserChatService(serviceName, serviceName, false);
org.jivesoftware.openfire.mucMultiUserChatManagerisServiceRegistered

Javadoc

Returns true if a MUC service is configured/exists for a given subdomain.

Popular methods of MultiUserChatManager

  • getMultiUserChatService
    Retrieves a MultiUserChatService instance specified by any JID that refers to it. In other words, it
  • getMultiUserChatServices
    Retrieves all of the MultiUserChatServices managed and configured for this server, sorted by subdoma
  • addNumberIncomingMessages
  • addNumberOutgoingMessages
  • addTotalConnectedUsers
  • addTotalOccupantsStats
  • addTotalRoomStats
    Statistics code
  • createMultiUserChatService
    Creates a new MUC service and registers it with the manager, and starts up the service.
  • deleteService
    Deletes a service based on service ID.
  • getMultiUserChatServiceID
    Retrieves ID of MUC service by subdomain.
  • getMultiUserChatSubdomain
    Retrieves the subdomain of a specified service ID.
  • insertService
    Inserts a new MUC service into the database.
  • getMultiUserChatSubdomain,
  • insertService,
  • loadServiceID,
  • loadServiceSubdomain,
  • loadServices,
  • registerMultiUserChatService,
  • removeMultiUserChatService,
  • unregisterMultiUserChatService,
  • updateMultiUserChatService

Popular classes and methods

  • findViewById (Activity)
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
    Sets the value of the specified request header field. The value will only be used by the current URL
  • PrintStream (java.io)
    Wraps an existing OutputStream and provides convenience methods for writing common data types in a h
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • DateFormat (java.text)
    DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)