Class WorkgroupQueuesComponent

All Implemented Interfaces:
ClusteredComponentIfc, Configurable, XMPPService, ConfigurationChangedAware, Initializable, RegistrarBean, DisableDisco, MessageReceiver, PacketWriterWithTimeout, ServerComponent, StatisticsContainer, StatisticsContainerIfc, VHostListener

@Bean(name="wg", parent=Kernel.class, active=false) public class WorkgroupQueuesComponent extends AbstractKernelBasedComponent implements Initializable
  • Field Details

  • Constructor Details

    • WorkgroupQueuesComponent

      public WorkgroupQueuesComponent()
  • Method Details

    • getComponentVersion

      public String getComponentVersion()
      Overrides:
      getComponentVersion in class AbstractKernelBasedComponent
    • getDefaults

      public Map<String,Object> getDefaults(Map<String,Object> params)
      Description copied from interface: Configurable
      Returns default configuration settings for the component as a Map with keys as configuration property IDs and values as the configuration property values. All the default parameters returned from this method are later passed to the setProperties(...) method. Some of them may have changed value if they have been overwritten in the server configuration. The configuration property value can be of any of the basic types: int, long, boolean, String.
      Specified by:
      getDefaults in interface Configurable
      Overrides:
      getDefaults in class BasicComponent
      Parameters:
      params - is a Map with some initial properties set for the starting up server. These parameters can be used as a hints to generate component's default configuration.
      Returns:
      a Map with the component default configuration.
    • getDiscoCategory

      public String getDiscoCategory()
      Description copied from class: BasicComponent
      Method returns category of a component used for service discovery responses.
      Overrides:
      getDiscoCategory in class BasicComponent
      Returns:
      category of a component
    • getDiscoCategoryType

      public String getDiscoCategoryType()
      Description copied from class: BasicComponent
      Method returns component category type used for service discovery responses.
      Overrides:
      getDiscoCategoryType in class BasicComponent
      Returns:
      category type of a component
    • getDiscoDescription

      public String getDiscoDescription()
      Description copied from class: BasicComponent
      Method returns description used for service discovery responses.
      Overrides:
      getDiscoDescription in class BasicComponent
      Returns:
      description of a component
    • initialize

      public void initialize()
      Description copied from interface: Initializable
      Method will be called, when bean will be created, configured and ready to use.
      Specified by:
      initialize in interface Initializable
      Overrides:
      initialize in class BasicComponent
    • getLicenceChecker

      protected LicenceChecker getLicenceChecker()
    • isDiscoNonAdmin

      public boolean isDiscoNonAdmin()
      Description copied from class: AbstractKernelBasedComponent
      Is this component discoverable by disco#items for domain by non admin users.
      Specified by:
      isDiscoNonAdmin in class AbstractKernelBasedComponent
      Returns:
      true - if yes
    • isSubdomain

      public boolean isSubdomain()
      Overrides:
      isSubdomain in class BasicComponent
    • processingInThreads

      public int processingInThreads()
      Description copied from class: AbstractMessageReceiver
      Concurrency control method. Returns preferable number of threads set for this component.
      Overrides:
      processingInThreads in class AbstractMessageReceiver
      Returns:
      preferable number of threads set for this component.
    • processingOutThreads

      public int processingOutThreads()
      Description copied from class: AbstractMessageReceiver
      Concurrency control method. Returns preferable number of threads set for this component.
      Overrides:
      processingOutThreads in class AbstractMessageReceiver
      Returns:
      preferable number of threads set for this component.
    • registerModules

      protected void registerModules(Kernel kernel)
      Specified by:
      registerModules in class AbstractKernelBasedComponent