pl.bristleback.server.bristle.binding
Interface BindingsProcessor

All Known Implementing Classes:
DefaultBindingsProcessor

public interface BindingsProcessor

Implementations of this interface are responsible for processing binding annotations in every action classes. Every action class can contain multiple object binders, list of binder instances is returned for every action class. Binding processors are obligated to search binding annotations.

Created on: 2011-03-27 13:16:51

Author:
Wojciech Niemiec

Method Summary
 java.util.List<ActionClassElement<ObjectBinder>> processBindings(java.lang.Class<? extends RemoteAction> actionClass, BristleConfiguration configuration)
          Processes Bind and nested Property annotations in given action classes, stores information about bindings in object binders.
 

Method Detail

processBindings

java.util.List<ActionClassElement<ObjectBinder>> processBindings(java.lang.Class<? extends RemoteAction> actionClass,
                                                                 BristleConfiguration configuration)
Processes Bind and nested Property annotations in given action classes, stores information about bindings in object binders. Root element and every property elements should be wrapped into NestedFieldInformation objects.

Parameters:
actionClass - action class to process.
configuration - Bristleback plugin configuration, containing information about default binding engine.
Returns:
list of action class elements, object binders.
See Also:
Creating root and adding children.


Copyright © 2011. All Rights Reserved.