org.codehaus.jackson.Versioned Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
package org.codehaus.jackson;
/**
* Interface that those Jackson components that are explicitly versioned will implement.
* Intention is to allow both plug-in components (custom extensions) and applications and
* frameworks that use Jackson to detect exact version of Jackson in use.
* This may be useful for example for ensuring that proper Jackson version is deployed
* (beyond mechanisms that deployment system may have), as well as for possible
* workarounds.
*
* @since 1.6
*/
public interface Versioned {
/**
* Method called to detect version of the component that implements this interface;
* returned version should never be null, but may return specific "not available"
* instance (see {@link Version} for details).
*/
public Version version();
}