[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/artifact/StorageServi...
noreply at shibboleth.net
noreply at shibboleth.net
Thu Dec 19 13:29:27 EST 2013
Author: scantor
Date: Thu Dec 19 13:29:27 2013
New Revision: 3521
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3521&view=rev
Log:
Missed a serializer class to fix.
Modified:
trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/artifact/StorageServiceSAMLArtifactMapEntryFactory.java
Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/artifact/StorageServiceSAMLArtifactMapEntryFactory.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/artifact/StorageServiceSAMLArtifactMapEntryFactory.java?rev=3521&r1=3520&r2=3521&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/artifact/StorageServiceSAMLArtifactMapEntryFactory.java (original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/artifact/StorageServiceSAMLArtifactMapEntryFactory.java Thu Dec 19 13:29:27 2013
@@ -24,6 +24,8 @@
import javax.annotation.Nullable;
import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
+import net.shibboleth.utilities.java.support.component.AbstractInitializableComponent;
+import net.shibboleth.utilities.java.support.component.ComponentSupport;
import net.shibboleth.utilities.java.support.logic.Constraint;
import net.shibboleth.utilities.java.support.xml.ElementSupport;
import net.shibboleth.utilities.java.support.xml.ParserPool;
@@ -53,7 +55,7 @@
* <p>This implements serialization of an entry by wrapping the XML-based message
* in a parent element that tracks the additional associated data.</p>
*/
-public class StorageServiceSAMLArtifactMapEntryFactory
+public class StorageServiceSAMLArtifactMapEntryFactory extends AbstractInitializableComponent
implements SAMLArtifactMapEntryFactory, StorageSerializer<SAMLArtifactMapEntry> {
/** Class logger. */
@@ -82,6 +84,8 @@
* @param pool parser pool used to parse serialized data
*/
public void setParserPool(@Nonnull final ParserPool pool) {
+ ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
+
parserPool = Constraint.isNotNull(pool, "ParserPool cannot be null");
}
More information about the commits
mailing list