Skip to main content

RE: Accessing Glassfish configuration values from domain.xml

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2005-03-30

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.

-----Original Message-----
From: []
Received: Tuesday, 06 Aug 2013, 23:26
To: []
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:

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-06-11

Hi Sahoo.

Thanks for that. I hadn't seen the getCommandRunner method on the org.glassfish.embeddable.GlassFish interface.