RE: Accessing Glassfish configuration values from domain.xml
Here is one suggestion. You use org.glassfish.embeddable.GlassFish service to execute asadmin commands. It's part of a public interface. Just Google for its javadocs. It's available as a service in osgi service registry. So, you can use it easily from uour bundle that is installed using felix fileinstall.
Sent from my Android phone, please excuse me for its brevity.
From: email@example.com [firstname.lastname@example.org]
Received: Tuesday, 06 Aug 2013, 23:26
To: email@example.com [firstname.lastname@example.org]
Subject: Re: Accessing Glassfish configuration values from domain.xml
Hi Tim, Valid point. Currently I am deploying my configuration service OSGi
bundle to the Felix FileInstall location domain1/autodeploy/bundles. Are you
saying that by simply deploying my OSGi bundle to the modules/autostart
folder, I then have an OSGi module and can start to use the @inject
annotation ? Thanks Ed
[Message sent by forum member 'ejroberts']
View Post: http://forums.java.net/node/898130