org.x2jb.bind.spi.provider
Interface BindingFactory


public interface BindingFactory

Users that wish to write their own XML 2 Java Binding Provider have to implement this interface. The provider implementation does not need to implement caching or synchronization mechanisms because these are already implemented in X2JB runtime. It is guaranted to the provider implementator that only one thread in the time will access its getBinding method.

Every binding factory provider implementation have to:

Author:
Richard Opalka
See Also:
BindingDefinition, BindingException

Method Summary
 BindingDefinition getBinding(java.lang.reflect.Method method)
          Returns BindingDefinition associated with the method method or null if there is no associated mapping definition.
 

Method Detail

getBinding

BindingDefinition getBinding(java.lang.reflect.Method method)
Returns BindingDefinition associated with the method method or null if there is no associated mapping definition.

Parameters:
method - method which BindingDefinition will be returned
Returns:
BindingDefinition associated with the method method