You need constructor-args as well i think

Can you share what you want to instantiate/call exactly?
Le 23 janv. 2016 09:17, "seenu.atluri" <[email protected]> a écrit :

> Hi,
>
> Is it possible configure datasource defined in tomee.xml using
> CustomDataSoruceFactory? I tried extending
> org.apache.openejb.resource.jdbc.DataSourceFactory and specify it in
> class-name attribute in <resource>.
>
> It did not work because DataSourceFactory does not have create() method.
>
> I know we can do it if resource in defined in context.xml. My aim is to do
> the same in tomee.xml.
>
> Thanks & Regards,
> Srinivas Atluri.
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Custom-Datasource-Factory-in-TomEE-tp4677511.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to