I'm looking for a way to have a generated XMLBean interface extend an
interface. At first, I thought that the Extension Interfaces Feature
was what I needed. However, I have no need to implement the required
static handler.
For example:
public interface MyBean {
String getName();
void setName(String name);
}
I want the generated XMLBean interface "MyXmlBean" to extend "MyBean".
Assuming that the "MyXmlBean" interface was generated with the same
method signatures as the "MyBean" interface based on the xsd,
everything will work out.
This enables my service API to reference the MyBean interface without
having to depend on the generated XMLBeans which, of course, allows me
to replace the XMLBeans implementation with something else if desired.
But... the requirement imposed by the Extension Interface Feature
demands a static handler... I could write a static handler for the
interface, but this becomes extremely messy when dealing with a large
domain model.
Any hints?
- Patrick Crocker.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]