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.
Thanks,
Sahoo
Sent from my Android phone, please excuse me for its brevity.
-----Original Message-----
From: forums_at_java.net [forums_at_java.net]
Received: Tuesday, 06 Aug 2013, 23:26
To: users_at_glassfish.java.net [users_at_glassfish.java.net]
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