xades4j.utils
Class XadesProfileCore
java.lang.Object
xades4j.utils.XadesProfileCore
public final class XadesProfileCore
- extends Object
Helper class that implements the core logic of profile resolution based on a series
of dependencies. Profile resultion is based on Google's dependency container
(Guice).
- Author:
- Luís
- See Also:
XadesSigningProfile,
XadesVerificationProfile,
XadesFormatExtenderProfile
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XadesProfileCore
public XadesProfileCore()
addBinding
public <T> void addBinding(Class<T> from,
Class<? extends T> to)
- Throws:
NullPointerException - if from or to are null
addBinding
public <T> void addBinding(Class<T> from,
T to)
- Throws:
NullPointerException - if from or to are null
addGenericBinding
public void addGenericBinding(Type genericClass,
Class to,
Type... genericClassParams)
addGenericBinding
public void addGenericBinding(Type genericClass,
Object to,
Type... genericClassParams)
getInstance
public <T> T getInstance(Class<T> clazz,
com.google.inject.Module defaultsModule)
throws XadesProfileResolutionException
- Throws:
XadesProfileResolutionException
Copyright © 2012. All Rights Reserved.