Roland Huß > osgish-v0.3.1 > OSGi::Osgish



Annotate this POD

View/Report Bugs
Module Version: v0.3.1   Source  


OSGi::Osgish - Main osgish object


This object is pushed to commands and allows access to all relevant informations shared between commands. A command should consult the osgish object when performing its operation for contacting the OSGi server. The osgish object gets updated in the background e.g. when the server changes.


$osgish = new OSGi::Osgish(agent => $agent,...)
$agent = $osgish->agent

Access to the agent object for accessing to the connected server. If there is no connected server, this methods returns undef


This file is part of osgish.

Osgish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

osgish is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with osgish. If not, see <>.

A commercial license is available as well. Please contact for further details.


Just in case you need professional support for this module (or JMX or OSGi in general), you might want to have a look at Contact for further information (or use the contact form at


syntax highlighting: