Package org.jivesoftware.openfire.group
Class MappedGroupProvider
java.lang.Object
org.jivesoftware.openfire.group.GroupMultiProvider
org.jivesoftware.openfire.group.MappedGroupProvider
- All Implemented Interfaces:
GroupProvider
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
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final GroupProviderMapper
Used to determine what provider is to be used to operate on a particular group.static final String
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. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jivesoftware.openfire.group.GroupMultiProvider
addMember, createGroup, deleteGroup, deleteMember, getGroup, getGroupCount, getGroupNames, getGroupNames, getGroupNames, getPublicSharedGroupNames, getSharedGroupNames, getSharedGroupNames, getVisibleGroupNames, instantiate, instantiate, isReadOnly, isSearchSupported, isSharingSupported, loadProperties, search, search, search, setDescription, setName, updateMember
-
Field Details
-
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
Used to determine what provider is to be used to operate on a particular group.
-
-
Constructor Details
-
MappedGroupProvider
public MappedGroupProvider()
-
-
Method Details
-
getGroupProviders
-
getGroupProvider
-