Package net.shibboleth.shared.component
Class ComponentSupport
java.lang.Object
net.shibboleth.shared.component.ComponentSupport
Deprecated, for removal: This API element is subject to removal in a future version.
Support class for working with
Component objects.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDeprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated, for removal: This API element is subject to removal in a future version.If the given object is not null and an instance ofDestructableComponent, then this method calls the given object'sDestructableComponent.destroy()method.static voidDeprecated, for removal: This API element is subject to removal in a future version.Checks if a component is destroyed and, if so, throws aDestroyedComponentException.static voidDeprecated, for removal: This API element is subject to removal in a future version.Checks if a component has been initialized and, if so, throws aUnmodifiableComponentException.static voidDeprecated, for removal: This API element is subject to removal in a future version.Checks if a component has not been initialized and, if so, throw)s aUninitializedComponentException.static voidinitialize(Object obj) Deprecated, for removal: This API element is subject to removal in a future version.If the given object is not null and an instance ofInitializableComponent, then this method calls the given object'sInitializableComponent.initialize()method.
-
Constructor Details
-
ComponentSupport
private ComponentSupport()Deprecated, for removal: This API element is subject to removal in a future version.Constructor.
-
-
Method Details
-
destroy
Deprecated, for removal: This API element is subject to removal in a future version.If the given object is not null and an instance ofDestructableComponent, then this method calls the given object'sDestructableComponent.destroy()method.- Parameters:
obj- object to destroy, may be null
-
initialize
Deprecated, for removal: This API element is subject to removal in a future version.If the given object is not null and an instance ofInitializableComponent, then this method calls the given object'sInitializableComponent.initialize()method.- Parameters:
obj- object to initialize, may be null- Throws:
ComponentInitializationException- thrown if there is a problem initializing the object
-