@ThreadSafe public class MockAttributeDefinition extends net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
| Modifier and Type | Field and Description |
|---|---|
private int |
destroyCount
Number of times
AbstractInitializableComponent.destroy() was called. |
private int |
initializeCount
Number of times
AbstractInitializableComponent.initialize() was called. |
private net.shibboleth.idp.attribute.resolver.ResolutionException |
resolutionException
Exception thrown by
#doAttributeResolution(AttributeResolutionContext)). |
private IdPAttribute |
staticValue
Static value returned by this definition.
|
| Constructor and Description |
|---|
MockAttributeDefinition(String id,
IdPAttribute value)
Constructor.
|
MockAttributeDefinition(String id,
net.shibboleth.idp.attribute.resolver.ResolutionException exception)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected IdPAttribute |
doAttributeDefinitionResolve(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext,
net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) |
void |
doDestroy() |
void |
doInitialize() |
int |
getDestroyCount()
Gets the number of times
AbstractInitializableComponent.destroy() was called. |
int |
getInitializeCount()
Gets the number of times
AbstractInitializableComponent.initialize() was called. |
boolean |
isInitialized() |
doResolve, getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getLogPrefix, getSourceAttributeId, isDependencyOnly, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeIdequals, getActivationCondition, getDependencies, getProfileContextStrategy, hashCode, isPropagateResolutionExceptions, resolve, setActivationCondition, setDependencies, setProfileContextStrategy, setPropagateResolutionExceptionssetIdgetIddestroy, initialize, isDestroyedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetActivationCondition, getDependencies, isPropagateResolutionExceptions, resolveinitializedestroy, isDestroyedgetIddestroyprivate int destroyCount
AbstractInitializableComponent.destroy() was called.private int initializeCount
AbstractInitializableComponent.initialize() was called.private IdPAttribute staticValue
private net.shibboleth.idp.attribute.resolver.ResolutionException resolutionException
#doAttributeResolution(AttributeResolutionContext)).public MockAttributeDefinition(String id, IdPAttribute value) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
id - unique ID of this attribute definitionvalue - static value returned by this definitionnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic MockAttributeDefinition(String id, net.shibboleth.idp.attribute.resolver.ResolutionException exception)
id - id of the data connectorexception - exception thrown by #doDataConnectorResolve(AttributeResolutionContext)@Nullable protected IdPAttribute doAttributeDefinitionResolve(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext, @Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) throws net.shibboleth.idp.attribute.resolver.ResolutionException
public void doDestroy()
doDestroy in class net.shibboleth.idp.attribute.resolver.AbstractResolverPlugin<IdPAttribute>public boolean isInitialized()
isInitialized in interface net.shibboleth.utilities.java.support.component.InitializableComponentisInitialized in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentpublic void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinitionnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic int getDestroyCount()
AbstractInitializableComponent.destroy() was called.AbstractInitializableComponent.destroy() was calledpublic int getInitializeCount()
AbstractInitializableComponent.initialize() was called.AbstractInitializableComponent.initialize() was calledCopyright © 1999–2014. All rights reserved.