protected static class JWTServiceImpl.JWTServiceConfigurationRegistry extends SimpleContributionRegistry<JWTServiceConfigurationDescriptor>
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
Modifier and Type | Field and Description |
---|---|
protected static JWTServiceConfigurationDescriptor |
DEFAULT_CONTRIBUTION |
protected static String |
KEY |
currentContribs
contribs
Modifier | Constructor and Description |
---|---|
protected |
JWTServiceConfigurationRegistry() |
Modifier and Type | Method and Description |
---|---|
JWTServiceConfigurationDescriptor |
clone(JWTServiceConfigurationDescriptor orig)
CLone the given contribution object
|
JWTServiceConfigurationDescriptor |
getContribution() |
String |
getContributionId(JWTServiceConfigurationDescriptor contrib)
Returns the contribution ID given the contribution object
|
boolean |
isSupportingMerge()
Returns true if merge is supported.
|
void |
merge(JWTServiceConfigurationDescriptor src,
JWTServiceConfigurationDescriptor dst)
Merge 'src' into 'dst'.
|
contributionRemoved, contributionUpdated, getCurrentContribution
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
protected static final String KEY
protected static final JWTServiceConfigurationDescriptor DEFAULT_CONTRIBUTION
protected JWTServiceConfigurationRegistry()
public String getContributionId(JWTServiceConfigurationDescriptor contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<JWTServiceConfigurationDescriptor>
public boolean isSupportingMerge()
ContributionFragmentRegistry
Hook method to be overridden if merge logics behind Object.clone()
and ContributionFragmentRegistry.merge(Object, Object)
cannot be
implemented.
isSupportingMerge
in class SimpleContributionRegistry<JWTServiceConfigurationDescriptor>
public JWTServiceConfigurationDescriptor clone(JWTServiceConfigurationDescriptor orig)
ContributionFragmentRegistry
clone
in class SimpleContributionRegistry<JWTServiceConfigurationDescriptor>
public void merge(JWTServiceConfigurationDescriptor src, JWTServiceConfigurationDescriptor dst)
ContributionFragmentRegistry
merge
in class SimpleContributionRegistry<JWTServiceConfigurationDescriptor>
src
- the object to copy over the 'dst' objectdst
- this object is modifiedpublic JWTServiceConfigurationDescriptor getContribution()
Copyright © 2019 Nuxeo. All rights reserved.