Guest User

Untitled

a guest
Oct 20th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openejb-jar>
  3. <pojo-deployment class-name="jaxrs-application">
  4. <properties>
  5. # optional but requires to skip scanned providers if set to true
  6. cxf.jaxrs.skip-provider-scanning = true
  7. # list of providers we want
  8. cxf.jaxrs.providers = johnzon,org.apache.openejb.server.cxf.rs.EJBAccessExceptionMapper
  9. </properties>
  10. </pojo-deployment>
  11. </openejb-jar>
  12.  
  13. <?xml version="1.0" encoding="UTF-8"?>
  14. <resources>
  15. <Service id="johnzon" class-name="org.apache.johnzon.jaxrs.ConfigurableJohnzonProvider">
  16. # 1M
  17. maxSize = 1048576
  18. bufferSize = 1048576
  19.  
  20. # ordered attributes
  21. attributeOrder = $order
  22.  
  23. # Additional types to ignore
  24. ignores = org.apache.cxf.jaxrs.ext.multipart.MultipartBody
  25. </Service>
  26.  
  27. <Service id="order" class-name="com.company.MyAttributeSorter" />
  28.  
  29. </resources>
Add Comment
Please, Sign In to add comment