public void setPartitionType(String type) throws Exception {
Value value = conf.getValue("DataCache");
ClassLoader ctxLoader = AccessController.doPrivileged(J2DoPrivHelper.getContextClassLoaderAction());
ClassLoader loader = conf.getClassResolverInstance().getClassLoader(null, ctxLoader);
_type = (Class<? extends DataCache>) AccessController.doPrivileged(
J2DoPrivHelper.getForNameAction(value.unalias(type), true, loader));
}
/**
* Set partitions from a String configuration.
*