Codehaus XFire
DocumentationQuicklinksDevelopers
Sponsors |
Interfaces and AegisThe Aegis binding will automatically create proxies for your interfaces when reading XML. So if you have a service which send or receives an interface like this: public interface User { public String getUsername(); public String getPasswrod(); } It will then create a dynamic proxy of User and provide a username and password from the XML. Alternatively, you can specify your implementation class by setting a property on your service. In this example a com.acme.UserImpl object will be used instead of a proxy: Service service = ...; service.setProperty("com.acme.User.implementation", "com.acme.UserImpl"); Interfaces and InheritanceXFire does NOT support interface inheritance currently!!! This is because it would require support for multiple parent inheritance, which XML Schema restrictions can not do. While this could be supported via substition groups, we currently have not implemented that feature. If you wish to comment on interface inheritance support, please see issueXFIRE-556. |