[java-opensaml COMMIT] /trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageSerializer.java
noreply at shibboleth.net
noreply at shibboleth.net
Thu Dec 19 12:09:40 EST 2013
Author: scantor
Date: Thu Dec 19 12:09:40 2013
New Revision: 3520
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3520&view=rev
Log:
- Make StorageSerializer interface an initializable component
- Propagate initialization changes through authn/session classes
Modified:
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageSerializer.java
Modified: trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageSerializer.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageSerializer.java?rev=3520&r1=3519&r2=3520&view=diff
==============================================================================
--- trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageSerializer.java (original)
+++ trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageSerializer.java Thu Dec 19 12:09:40 2013
@@ -21,9 +21,10 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
-import javax.annotation.concurrent.ThreadSafe;
import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
+import net.shibboleth.utilities.java.support.annotation.constraint.ThreadSafeAfterInit;
+import net.shibboleth.utilities.java.support.component.InitializableComponent;
/**
* Interface to a serialization/deserialization process used by a {@link StorageService} implementation
@@ -31,8 +32,8 @@
*
* @param <Type> the type of object handled
*/
- at ThreadSafe
-public interface StorageSerializer<Type> {
+ at ThreadSafeAfterInit
+public interface StorageSerializer<Type> extends InitializableComponent {
/**
* Returns a string representing the input object.
More information about the commits
mailing list