Hi,
Perhaps you can have a look on openejb-itests-client module.
The class org.apache.openejb.test.TestClient can probably do what you want.
Regards,
Jean-Louis
KMalhi wrote:
>
> I want to make a utility like so
>
> public Object newInstance(Class clazz){
> // this method should create an instance of the clazz and perform
> injections and return the instance
> }
>
> Is there an OpenEJB API which I could use , where I could give it an
> arbitrary class and it would scan the class for annotations and perform
> the
> neccessary injections.
> If not, then I will probably use the DefaultAnnotationProcessor available
> in
> Tomcat.
>
> --
> Karan Singh Malhi
>
>
--
View this message in context:
http://www.nabble.com/injection-support-in-POJO%27s-tp22072589p22076603.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.