![JAR search and dependency download from the Maven repository](/logo.png)
com.maxifier.mxcache.impl.resource.MxResourceSerializableImpl Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.impl.resource;
import com.maxifier.mxcache.resource.MxResource;
import java.io.Serializable;
/**
* @author Alexander Kochurov ([email protected])
*/
class MxResourceSerializableImpl implements Serializable {
private static final long serialVersionUID = 100L;
private final String name;
public MxResourceSerializableImpl(MxResource resource) {
this.name = resource.getName();
}
public Object readResolve() {
return MxResourceFactory.getResource(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy