public class BindingConfigurationEntry extends Object
Binding
,
ToMarshaller
,
FromUnmarshaller
,
or Converter
together with an optional
qualifier, b) an arbitrary class to be inspected for annotations or other
configuration meaningful to a Provider,
or c) an explicit definitionof a method for marshalling or unmarshalling
and/or constructor (either from method or from constructor can be defined but
not both).Constructor and Description |
---|
BindingConfigurationEntry(Class<?> bindingClass)
Create a new entry for the given binding class
|
BindingConfigurationEntry(Class<?> sourceClass,
Class<?> targetClass,
Class<? extends Annotation> qualifier,
Method toMethod,
Constructor<?> fromConstructor)
Create a new entry for the given options
|
BindingConfigurationEntry(Class<?> sourceClass,
Class<?> targetClass,
Class<? extends Annotation> qualifier,
Method toMethod,
Method fromMethod)
Create a new entry for the given options
|
BindingConfigurationEntry(Class<?> bindingClass,
Class<? extends Annotation> qualifier)
Create a new entry for the given binding class and qualifier
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBindingClass() |
Constructor<?> |
getFromConstructor() |
Method |
getFromMethod() |
Class<? extends Annotation> |
getQualifier() |
Class<?> |
getSourceClass() |
Class<?> |
getTargetClass() |
Method |
getToMethod() |
public BindingConfigurationEntry(Class<?> bindingClass)
bindingClass
- The binding classpublic BindingConfigurationEntry(Class<?> bindingClass, Class<? extends Annotation> qualifier)
bindingClass
- The binding classqualifier
- The qualifierpublic BindingConfigurationEntry(Class<?> sourceClass, Class<?> targetClass, Class<? extends Annotation> qualifier, Method toMethod, Method fromMethod)
sourceClass
- The source class to be boundtargetClass
- The foreign side of the relationshipqualifier
- The qualifiertoMethod
- The to method to be boundfromMethod
- The from method to be boundpublic BindingConfigurationEntry(Class<?> sourceClass, Class<?> targetClass, Class<? extends Annotation> qualifier, Method toMethod, Constructor<?> fromConstructor)
sourceClass
- The source class to be boundtargetClass
- The foreign side of the relationshipqualifier
- The qualifiertoMethod
- The to method to be boundfromConstructor
- The from constructor to be boundpublic Class<?> getBindingClass()
public Class<?> getSourceClass()
public Class<?> getTargetClass()
public Class<? extends Annotation> getQualifier()
public Method getToMethod()
public Method getFromMethod()
public Constructor<?> getFromConstructor()
Copyright © 2010–2018 Jadira Systems. All rights reserved.