Package org.nuxeo.ecm.jwt
Class JWTServiceImpl.JWTServiceConfigurationRegistry
- java.lang.Object
-
- org.nuxeo.runtime.model.ContributionFragmentRegistry<T>
-
- org.nuxeo.runtime.model.SimpleContributionRegistry<JWTServiceConfigurationDescriptor>
-
- org.nuxeo.ecm.jwt.JWTServiceImpl.JWTServiceConfigurationRegistry
-
- Enclosing class:
- JWTServiceImpl
protected static class JWTServiceImpl.JWTServiceConfigurationRegistry extends SimpleContributionRegistry<JWTServiceConfigurationDescriptor>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected static JWTServiceConfigurationDescriptor
DEFAULT_CONTRIBUTION
protected static String
KEY
-
Fields inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
currentContribs
-
Fields inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
contribs
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JWTServiceConfigurationRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JWTServiceConfigurationDescriptor
clone(JWTServiceConfigurationDescriptor orig)
CLone the given contribution objectJWTServiceConfigurationDescriptor
getContribution()
String
getContributionId(JWTServiceConfigurationDescriptor contrib)
Returns the contribution ID given the contribution objectboolean
isSupportingMerge()
Returns true if merge is supported.void
merge(JWTServiceConfigurationDescriptor src, JWTServiceConfigurationDescriptor dst)
Merge 'src' into 'dst'.-
Methods inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
contributionRemoved, contributionUpdated, getCurrentContribution
-
Methods inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
-
-
-
-
Field Detail
-
KEY
protected static final String KEY
- See Also:
- Constant Field Values
-
DEFAULT_CONTRIBUTION
protected static final JWTServiceConfigurationDescriptor DEFAULT_CONTRIBUTION
-
-
Constructor Detail
-
JWTServiceConfigurationRegistry
protected JWTServiceConfigurationRegistry()
-
-
Method Detail
-
getContributionId
public String getContributionId(JWTServiceConfigurationDescriptor contrib)
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<JWTServiceConfigurationDescriptor>
-
isSupportingMerge
public boolean isSupportingMerge()
Description copied from class:ContributionFragmentRegistry
Returns true if merge is supported.Hook method to be overridden if merge logics behind
Object.clone()
andContributionFragmentRegistry.merge(Object, Object)
cannot be implemented.- Overrides:
isSupportingMerge
in classSimpleContributionRegistry<JWTServiceConfigurationDescriptor>
-
clone
public JWTServiceConfigurationDescriptor clone(JWTServiceConfigurationDescriptor orig)
Description copied from class:ContributionFragmentRegistry
CLone the given contribution object- Overrides:
clone
in classSimpleContributionRegistry<JWTServiceConfigurationDescriptor>
-
merge
public void merge(JWTServiceConfigurationDescriptor src, JWTServiceConfigurationDescriptor dst)
Description copied from class:ContributionFragmentRegistry
Merge 'src' into 'dst'. When merging only the 'dst' object is modified.- Overrides:
merge
in classSimpleContributionRegistry<JWTServiceConfigurationDescriptor>
- Parameters:
src
- the object to copy over the 'dst' objectdst
- this object is modified
-
getContribution
public JWTServiceConfigurationDescriptor getContribution()
-
-