Class MappedGroupProvider

java.lang.Object
org.jivesoftware.openfire.group.GroupMultiProvider
org.jivesoftware.openfire.group.MappedGroupProvider
All Implemented Interfaces:
GroupProvider

public class MappedGroupProvider extends GroupMultiProvider
A GroupProvider that delegates to a group-specific GroupProvider. This class related to, but is distinct from HybridGroupProvider. The Hybrid variant of the provider iterates over providers, operating on the first applicable instance. This Mapped variant, however, maps each group to exactly one provider. To use this provider, use the following system property definition:
  • provider.group.className = org.jivesoftware.openfire.group.MappedGroupProvider
To be usable, a GroupProviderMapper must be configured using the mappedGroupProvider.mapper.className system property. It is of importance to note that most GroupProviderMapper implementations will require additional configuration.
Author:
Guus der Kinderen, guus@goodbytes.nl
See Also:
  • Field Details

    • PROPERTY_MAPPER_CLASSNAME

      public static final String PROPERTY_MAPPER_CLASSNAME
      Name of the property of which the value is expected to be the classname of the GroupProviderMapper instance to be used by instances of this class.
      See Also:
    • mapper

      protected final GroupProviderMapper mapper
      Used to determine what provider is to be used to operate on a particular group.
  • Constructor Details

    • MappedGroupProvider

      public MappedGroupProvider()
  • Method Details