Changes between Version 6 and Version 7 of ExampleUsingXmlRpcBeans


Ignore:
Timestamp:
05/08/07 10:12:56 (17 years ago)
Author:
lauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExampleUsingXmlRpcBeans

    v6 v7  
    1313  - like a java bean: for each property which is supposed to be transported over XML-RPC there has to exist a public getter and setter method 
    1414 
    15   - each property type has to be a XML-RPC compliant type, that is it has to have one of the follwoing properties: 
     15  - each property type has to be a XML-RPC compliant type, that is, it has to have one of the following properties: 
    1616    - it is a standard XML-RPC type 
    1717    - it is annotated with a @!XmlRpc annotation and defines proper conversion methods 
    1818    - a conversion mapping for that type is put at the !XmlRpcBean (which then acts as an API itself) 
    1919    - it is an !XmlRpcBean (that is, !XmlRpcBeans can be nested) 
    20     - it is a Collection or Map containing a type which is XML-RPC compliant and is annotated with the @Contains annotation 
     20    - it is a Collection, Map or array containing a type which is XML-RPC compliant  
    2121 
    22  
    23 Technically, an !XmlRpcBean is converted into a XML-RPC STRUCT. The field names of the tranfered map are the property names derived from the bean class. 
     22Technically, an !XmlRpcBean is converted into a XML-RPC STRUCT. The field names of the transfered map are the property names derived from the bean class. 
    2423 
    2524 
     
    5251public interface Api 
    5352{ 
    54     @Contains(CoffeeBean.class) 
    5553    Collection<CoffeeBean> getAllBeans(); 
    5654}