@Immutable @MustImplementEqualsAndHashcode public class JAXBContextCacheKey extends Object
JAXBContextCache| Constructor and Description |
|---|
JAXBContextCacheKey(com.helger.commons.collection.impl.ICommonsList<Class<?>> aClasses,
Map<String,?> aProperties)
Cache key using package and optional class loader
|
JAXBContextCacheKey(Package aPackage,
ClassLoader aClassLoader)
Cache key using package and optional class loader
|
| Modifier and Type | Method and Description |
|---|---|
JAXBContext |
createJAXBContext(boolean bSilentMode) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public JAXBContextCacheKey(@Nonnull Package aPackage, @Nullable ClassLoader aClassLoader)
aPackage - Package to be used. May not be null.aClassLoader - Class loader. May be null.public JAXBContextCacheKey(@Nonnull com.helger.commons.collection.impl.ICommonsList<Class<?>> aClasses, @Nullable Map<String,?> aProperties)
aClasses - Classes to be used. May not be null.aProperties - JAXB context properties. May be null.@Nonnull public JAXBContext createJAXBContext(boolean bSilentMode)
Copyright © 2015–2021 Philip Helger. All rights reserved.