You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Pablo Gomez <pa...@faw.jku.at> on 2016/03/10 16:20:49 UTC

dosgi/cxf-aegis rootClasses properties

Hello,

I  want to submit through a dosgi service a class like the following:


@XmlRootElement(name = "MyClass")
public class MyClass<T extends AbstractStuff> {
         T stuffInstance1;
         T stuffInstance2;

         @XmlElement(name = "stuffInstance1")
         T getStuffInstance1(){
         }


         @XmlElement(name = "stuffInstance2")
         T getStuffInstance1(){
         }
}


According to Aegis doc here: http://cxf.apache.org/docs/aegis-21.html

What I want to do seems to be possible as long as provide rootClasses or 
beanImplementationMap

How can I configure these two properties in dosgi/cxf? At the 
"OSGI-INF/remote-service/endpoints.xml"? at the blueprint of the service 
implementation? In both places? and how should I do it. Because I wanted 
to have a simple interface, otherwise I suppose that I could do a 
service-method for each of these T types  but I was hoping not to need 
to do that

thanks in advance
Regards

-- 
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.