All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.truecommons.key.spec.AbstractKeyManager Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2005-2015 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package net.java.truecommons.key.spec;

import javax.annotation.concurrent.Immutable;
import net.java.truecommons.shed.UniqueObject;

/**
 * An abstract key manager.
 * When implementing a key manager, you should extend this class rather
 * than directly implementing the interface in order to maintain binary
 * backwards compatibility even if the interface is changed.
 * 

* Subclasses must be safe for multi-threading. * * @param The type of the keys. * @since TrueCommons 2.2 * @author Christian Schlichtherle */ @Immutable public abstract class AbstractKeyManager extends UniqueObject implements KeyManager { /** * Returns a string representation of this object for logging and debugging * purposes. */ @Override public String toString() { return String.format("%s", getClass().getName()); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy