You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/12/25 07:31:55 UTC
svn commit: r1553356 [19/31] - in /karaf/site/production/manual/latest: ./
commands/ developers-guide/ users-guide/
Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html (original)
+++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin-instance-create-archive.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="connect-console.html">Programmatically connect to the Console</a></li><li><a href="shell-syntax.html">Shell syntax</a>
</li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="developer-commands.html">Developer Commands</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href="extending-console.html">Extending the Console</a></li><li><a href="branding-console.html">Branding the Console</a></li><li><a href="karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="security-framework.html">Security Framework</a></li><li><a href="custom-distribution.html">Custom Distribution</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="connect-console.html">Programmatically connect to the console</a></li><li><a href="writing-tests.html">Writing integration tests</a></li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="shell-syntax.html">Shell syntax</a></li><li><a href="github-contributions.html">Github Contr
ibutions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -101,7 +101,7 @@
</td>
<td height="100%" width="100%">
<div class="wiki-content">
-<h2 id="Goalkarafinstancecreatearchive">Goal <tt>karaf:instance-create-archive</tt></h2><p>Normally this is run as part of the karaf-assembly packaging.</p><p>The <tt>karaf:instance-create-archive</tt> goal packages a Karaf instance archive from a given assembled instance.</p><p>Both tar.gz and zip formats are generated in the destination folder.</p><h3 id="Example">Example</h3><p>The example below create archives for the given Karaf instance:</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>3.0.0-SNAPSHOT<s
pan class="nt"></version></span>
 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>generate<span class="nt"></id></span>
 <span class="nt"><phase></span>package<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>instance-create-archive<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><destDir></span>/home/jbonofre/workspace/karaf/karaf/manual/target<span class="nt"></destDir></span>
 <span class="nt"><targetServerDirectory></span>/home/jbonofre/workspace/karaf/karaf/manual/target/assembly<span class="nt"></targetServerDirect
ory></span>
 <span class="nt"><targetFile></span>/home/jbonofre/workspace/karaf/karaf/manual/pom.xml<span class="nt"></targetFile></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>destDir</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target directory of the project. <br/> Default value:
/home/jbonofre/workspace/karaf/karaf/manual/target </td></tr><tr><td class="confluenceTd"> <tt>targetServerDirectory</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The location of the server repository. <br/> Default value: /home/jbonofre/workspace/karaf/karaf/manual/target/assembly </td></tr><tr><td class="confluenceTd"> <tt>targetFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target file to set as the project's artifact. <br/> Default value: /home/jbonofre/workspace/karaf/karaf/manual/pom.xml </td></tr></table></div>
+<h2 id="Goalkarafinstancecreatearchive">Goal <tt>karaf:instance-create-archive</tt></h2><p>Normally this is run as part of the karaf-assembly packaging.</p><p>The <tt>karaf:instance-create-archive</tt> goal packages a Karaf instance archive from a given assembled instance.</p><p>Both tar.gz and zip formats are generated in the destination folder.</p><h3 id="Example">Example</h3><p>The example below create archives for the given Karaf instance:</p><div class="syntax"><div class="highlight"><pre><span class="nt"><project></span>
 <span class="nt"><build></span>
 <span class="nt"><plugins></span>
 <span class="nt"><plugin></span>
 <span class="nt"><groupId></span>org.apache.karaf.tooling<span class="nt"></groupId></span>
 <span class="nt"><artifactId></span>karaf-maven-plugin<span class="nt"></artifactId></span>
 <span class="nt"><version></span>3.0.1-SNAPSHOT<s
pan class="nt"></version></span>
 <span class="nt"><executions></span>
 <span class="nt"><execution></span>
 <span class="nt"><id></span>generate<span class="nt"></id></span>
 <span class="nt"><phase></span>package<span class="nt"></phase></span>
 <span class="nt"><goals></span>
 <span class="nt"><goal></span>instance-create-archive<span class="nt"></goal></span>
 <span class="nt"></goals></span>
 <span class="nt"><configuration></span>
 <span class="nt"><destDir></span>/home/jbonofre/workspace/karaf/karaf/manual/target<span class="nt"></destDir></span>
 <span class="nt"><targetServerDirectory></span>/home/jbonofre/workspace/karaf/karaf/manual/target/assembly<span class="nt"></targetServerDirect
ory></span>
 <span class="nt"><targetFile></span>/home/jbonofre/workspace/karaf/karaf/manual/pom.xml<span class="nt"></targetFile></span>
 <span class="nt"></configuration></span>
 <span class="nt"></execution></span>
 <span class="nt"></executions></span>
 <span class="nt"></plugin></span>
 <span class="nt"></plugins></span>
 <span class="nt"></build></span>
<span class="nt"></project></span>
</pre></div>
</div><h3 id="Parameters">Parameters</h3><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>destDir</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target directory of the project. <br/> Default value:
/home/jbonofre/workspace/karaf/karaf/manual/target </td></tr><tr><td class="confluenceTd"> <tt>targetServerDirectory</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The location of the server repository. <br/> Default value: /home/jbonofre/workspace/karaf/karaf/manual/target/assembly </td></tr><tr><td class="confluenceTd"> <tt>targetFile</tt> </td><td class="confluenceTd"> <tt>File</tt> </td><td class="confluenceTd"> The target file to set as the project's artifact. <br/> Default value: /home/jbonofre/workspace/karaf/karaf/manual/pom.xml </td></tr></table></div>
</div>
</td>
</tr>
Modified: karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html (original)
+++ karaf/site/production/manual/latest/developers-guide/karaf-maven-plugin.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="connect-console.html">Programmatically connect to the Console</a></li><li><a href="shell-syntax.html">Shell syntax</a>
</li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="developer-commands.html">Developer Commands</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href="extending-console.html">Extending the Console</a></li><li><a href="branding-console.html">Branding the Console</a></li><li><a href="karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="security-framework.html">Security Framework</a></li><li><a href="custom-distribution.html">Custom Distribution</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="connect-console.html">Programmatically connect to the console</a></li><li><a href="writing-tests.html">Writing integration tests</a></li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="shell-syntax.html">Shell syntax</a></li><li><a href="github-contributions.html">Github Contr
ibutions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -108,7 +108,7 @@
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
- <version>3.0.0-SNAPSHOT</version>
+ <version>3.0.1-SNAPSHOT</version>
<extensions>true</extensions>
</plugin>
</plugins>
Added: karaf/site/production/manual/latest/developers-guide/scripting.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/scripting.html?rev=1553356&view=auto
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/scripting.html (added)
+++ karaf/site/production/manual/latest/developers-guide/scripting.html Wed Dec 25 06:31:51 2013
@@ -0,0 +1,273 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
+<html lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="description" content="description goes here"/>
+ <meta name="keywords" content="keywords,goes,here"/>
+ <meta name="author" content="The Apache Karaf Team"/>
+ <link href="../css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
+ <title>
+ Apache Karaf 3.0.1-SNAPSHOT Guides
+ </title>
+ </head>
+ <body>
+ <table width="100%" cellpadding="0" cellspacing="0">
+ <tr width="100%">
+ <td id="cell-0-0" colspan="2">
+
+ </td>
+ <td id="cell-0-1">
+
+ </td>
+ <td id="cell-0-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-1-0">
+
+ </td>
+ <td id="cell-1-1">
+
+ </td>
+ <td id="cell-1-2">
+ <div style="padding: 5px;">
+ <div id="banner">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td align="left" class="topbardiv" nowrap="">
+<a href="http://karaf.apache.org/" title="A server side OSGi distribution">
+ <img border="0" src="../images/karaf-logo.png" width="400px"></img>
+</a>
+ </td>
+ <td align="right" nowrap="">
+<a href="http://www.apache.org/" title="The Apache Sofware Foundation">
+ <img border="0" src="../images/asf-logo.png">
+</a>
+ </td>
+ </tr>
+ </table>
+
+ </div>
+ <div id="top-menu">
+ <table border="0" cellpadding="1" cellspacing="0" width="100%">
+ <tr>
+ <td>
+ <div align="left"></div>
+ </td>
+ <td>
+ <div align="right">
+ <p>
+<a href="../index.html" title="Home">Home</a>
+|
+<a href="../users-guide/index.html" title="Users Guide">Users Guide</a>
+|
+<a href="index.html" title="Developers Guide">Developers Guide</a>
+</p>
+
+
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ <td id="cell-1-3">
+
+ </td>
+ <td id="cell-1-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-2-0" colspan="2">
+
+ </td>
+ <td id="cell-2-1">
+ <table>
+ <tr height="100%" valign="top">
+ <td height="100%">
+ <div id="wrapper-menu-page-right">
+ <div id="wrapper-menu-page-top">
+ <div id="wrapper-menu-page-bottom">
+ <div id="menu-page">
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ </div>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td height="100%" width="100%">
+ <div class="wiki-content">
+<h1 id="Scripting">Scripting</h1><p>In the console section of the users guide, we introduced the scripting support.</p><h2 id="Assignation">Assignation</h2><p>You already know the first usage of scripting: execution of command.</p><pre>
+karaf@root()> echo hello world
+hello world
+</pre><p>You can also assign value to session variables:</p><pre>
+karaf@root()> msg = "hello world"
+hello world
+</pre><p>Once you have assigned a value to a variable, you can display this value using the "resolved" variable name:</p><pre>
+karaf@root()> echo $msg
+hello world
+</pre><p>The () are execution quotes (like the backquotes when you use bash on Unix).</p><pre>
+karaf@root()> ($.context bundle 1) location
+mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/3.0.1-SNAPSHOT
+</pre><p>The <tt>$.context</tt> access the context variables in the current session.<br/>We access to the <tt>bundle</tt> variable (an array containing all bundles), and we want to display the bundle location for<br/>the bundle at the index 1 in the bundle array.</p><h2 id="Listmapspipesandclosures">List, maps, pipes and closures</h2><p>Using [], you can define array variable:</p><pre>
+karaf@root()> list = [1 2 a b]
+1
+2
+a
+b
+
+</pre><p>You can also create a map if you put variables assignation in the array:</p><pre>
+karaf@root()> map = [Jan=1 Feb=2 Mar=3]
+Jan 1
+Feb 2
+Mar 3
+</pre><p>Using the | character, you can pipe output from a command as an input to another one.</p><p>For instance, you can access to the bundles context variables and send it as input to the grep command:</p><pre>
+karaf@root()> ($.context bundles) | grep -i felix
+ 0|Active | 0|org.apache.felix.framework (4.2.1)
+ 21|Active | 11|org.apache.felix.fileinstall (3.2.6)
+ 43|Active | 10|org.apache.felix.configadmin (1.6.0)
+ 51|Active | 30|org.apache.felix.gogo.runtime (0.10.0)
+</pre><p>You can assign name to script execution. It's what we use for alias:</p><pre>
+karaf@root()> echo2 = { echo xxx $args yyy }
+echo xxx $args yyy
+karaf@root()> echo2 hello world
+xxx hello world yyy
+</pre><h2 id="Startup">Startup</h2><p>The <tt>etc/shell.init.script</tt> file is executed at startup in each shell session, allowing the definition of additional<br/>variables or aliases or even complex functions. It's like the bashrc or profile on Unix.</p><h2 id="Constantsandvariables">Constants and variables</h2><p>Apache Karaf console provides a set of implicit constants and variables that you can use in your script.</p><ul><li><tt>$.context</tt> to access a bundle context</li><li><tt>$.variables</tt> to access the list of defined variables</li><li><tt>$.commands</tt> to access the list of defined commands</li></ul><p>The variables starting with a # that are defined as Function (such as closures) will be executed automatically:</p><pre>
+karaf@root> \#inc = { var = "${var}i" ; $var }
+var = "${var}i" ; $var
+karaf@root> echo $inc
+i
+karaf@root> echo $inc
+ii
+karaf@root>
+</pre><h2 id="Builtinvariablesandcommands">Built-in variables and commands</h2><p>Apache Karaf console provides built-in variable very useful for scripting:</p><ul><li><tt>$args</tt> retrieves the list of script parameters, given to the closure being executed</li><li><tt>$1 .. $999</tt> retrieves the nth argument of the closure</li><li><tt>$it</tt> (same as <tt>$1</tt>) is used in a loop to access the current iterator value</li></ul><p>Apache Karaf console provides commands for scripting:</p><ul><li><tt>shell:if</tt></li><li><tt>shell:new</tt></li><li><tt>shell:each</tt></li><li>...</li></ul><h2 id="LeveragingexistingJavacapabilitiesviareflection">Leveraging existing Java capabilities (via reflection)</h2><p>Apache Karaf console supports loading and execution of Java classes.</p><p>The <tt>$karaf.lastException</tt> implicit variable contains the latest Exception thrown.</p><pre>
+karaf@root()> ($.context bundle) loadClass foo
+Error executing command: foo not found by org.apache.karaf.shell.console [17]
+karaf@root()> $karaf.lastException printStackTrace
+java.lang.ClassNotFoundException: foo not found by org.apache.karaf.shell.console [17]
+ at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)
+ at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
+ at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
+ at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
+ at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1723)
+ at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:926)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+ at java.lang.reflect.Method.invoke(Method.java:597)
+ at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
+ at org.apache.felix.gogo.runtime.Closure.executeMethod(Closure.java:527)
+ at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
+ at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
+ at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
+ at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
+ at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
+ at org.apache.karaf.shell.console.jline.Console.run(Console.java:166)
+ at java.lang.Thread.run(Thread.java:680)
+</pre><p>It's possible to create objects to create commands "on the fly":</p><pre>
+karaf@root()> addcommand system (($.context bundle) loadClass java.lang.System)
+karaf@root()> system:getproperty karaf.name
+root
+</pre><p>It means that you can create object using the <tt>new</tt> directive, and call methods on the objects:</p><pre>
+karaf@root> map = (new java.util.HashMap)
+karaf@root> $map put 0 0
+karaf@root> $map
+0 0
+</pre><h2 id="Examples">Examples</h2><p>The following examples show some scripts defined in <tt>etc/shell.init.script</tt>.</p><p>The first example show a script to add a value into a configuration list:</p><pre>
+#
+# Add a value at the end of a property in the given OSGi configuration
+#
+# For example:
+# > config-add-to-list org.ops4j.pax.url.mvn org.ops4j.pax.url.mvn.repositories http://scala-tools.org/repo-releases
+#
+config-add-to-list = {
+ config:edit $1 ;
+ a = (config:property-list | grep --color never $2 | tac) ;
+ b = (echo $a | grep --color never "\b$3\b" | tac) ;
+ if { ($b trim) isEmpty } {
+ if { $a isEmpty } {
+ config:property-set $2 $3
+ } {
+ config:property-append $2 ", $3"
+ } ;
+ config:update
+ } {
+ config:cancel
+ }
+}
+</pre><p>This second example shows a script to wait for an OSGi service, up to a given timeout, and combine this script in<br/>other scripts:</p><pre>
+#
+# Wait for the given OSGi service to be available
+#
+wait-for-service-timeout = {
+ _filter = $.context createFilter $1 ;
+ _tracker = shell:new org.osgi.util.tracker.ServiceTracker $.context $_filter null ;
+ $_tracker open ;
+ _service = $_tracker waitForService $2 ;
+ $_tracker close
+}
+#
+# Wait for the given OSGi service to be available with a timeout of 10 seconds
+#
+wait-for-service = {
+ wait-for-service-timeout $1 10000
+}
+#
+# Wait for the given command to be available with a timeout of 10 seconds
+# For example:
+# > wait-for-command dev watch
+#
+wait-for-command = {
+ wait-for-service "(&(objectClass=org.apache.felix.service.command.Function)(osgi.command.scope=$1)(osgi.command.function=$2))"
+}
+</pre>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td id="cell-2-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-3-0">
+
+ </td>
+ <td id="cell-3-1">
+
+ </td>
+ <td id="cell-3-2">
+ <div id="footer">
+ <div id="site-footer">
+ © 2008-2011 The Apache Software Foundation
+ <br/>
+ Apache Karaf, Karaf, Apache, the Apache feather logo, and the Apache Karaf project logo are trademarks of The Apache Software Foundation.
+ </div>
+ </div>
+ </td>
+ <td id="cell-3-3">
+
+ </td>
+ <td id="cell-3-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-4-0" colspan="2">
+
+ </td>
+ <td id="cell-4-1">
+
+ </td>
+ <td id="cell-4-2" colspan="2">
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
\ No newline at end of file
Modified: karaf/site/production/manual/latest/developers-guide/security-framework.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/security-framework.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/security-framework.html (original)
+++ karaf/site/production/manual/latest/developers-guide/security-framework.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="connect-console.html">Programmatically connect to the Console</a></li><li><a href="shell-syntax.html">Shell syntax</a>
</li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="developer-commands.html">Developer Commands</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href="extending-console.html">Extending the Console</a></li><li><a href="branding-console.html">Branding the Console</a></li><li><a href="karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="security-framework.html">Security Framework</a></li><li><a href="custom-distribution.html">Custom Distribution</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="connect-console.html">Programmatically connect to the console</a></li><li><a href="writing-tests.html">Writing integration tests</a></li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="shell-syntax.html">Shell syntax</a></li><li><a href="github-contributions.html">Github Contr
ibutions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
</div>
</div>
</div>
Added: karaf/site/production/manual/latest/developers-guide/services.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/services.html?rev=1553356&view=auto
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/services.html (added)
+++ karaf/site/production/manual/latest/developers-guide/services.html Wed Dec 25 06:31:51 2013
@@ -0,0 +1,150 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
+<html lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="description" content="description goes here"/>
+ <meta name="keywords" content="keywords,goes,here"/>
+ <meta name="author" content="The Apache Karaf Team"/>
+ <link href="../css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
+ <title>
+ Apache Karaf 3.0.1-SNAPSHOT Guides
+ </title>
+ </head>
+ <body>
+ <table width="100%" cellpadding="0" cellspacing="0">
+ <tr width="100%">
+ <td id="cell-0-0" colspan="2">
+
+ </td>
+ <td id="cell-0-1">
+
+ </td>
+ <td id="cell-0-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-1-0">
+
+ </td>
+ <td id="cell-1-1">
+
+ </td>
+ <td id="cell-1-2">
+ <div style="padding: 5px;">
+ <div id="banner">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td align="left" class="topbardiv" nowrap="">
+<a href="http://karaf.apache.org/" title="A server side OSGi distribution">
+ <img border="0" src="../images/karaf-logo.png" width="400px"></img>
+</a>
+ </td>
+ <td align="right" nowrap="">
+<a href="http://www.apache.org/" title="The Apache Sofware Foundation">
+ <img border="0" src="../images/asf-logo.png">
+</a>
+ </td>
+ </tr>
+ </table>
+
+ </div>
+ <div id="top-menu">
+ <table border="0" cellpadding="1" cellspacing="0" width="100%">
+ <tr>
+ <td>
+ <div align="left"></div>
+ </td>
+ <td>
+ <div align="right">
+ <p>
+<a href="../index.html" title="Home">Home</a>
+|
+<a href="../users-guide/index.html" title="Users Guide">Users Guide</a>
+|
+<a href="index.html" title="Developers Guide">Developers Guide</a>
+</p>
+
+
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ <td id="cell-1-3">
+
+ </td>
+ <td id="cell-1-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-2-0" colspan="2">
+
+ </td>
+ <td id="cell-2-1">
+ <table>
+ <tr height="100%" valign="top">
+ <td height="100%">
+ <div id="wrapper-menu-page-right">
+ <div id="wrapper-menu-page-top">
+ <div id="wrapper-menu-page-bottom">
+ <div id="menu-page">
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ </div>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td height="100%" width="100%">
+ <div class="wiki-content">
+<h1 id="OSGiservices">OSGi services</h1>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td id="cell-2-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-3-0">
+
+ </td>
+ <td id="cell-3-1">
+
+ </td>
+ <td id="cell-3-2">
+ <div id="footer">
+ <div id="site-footer">
+ © 2008-2011 The Apache Software Foundation
+ <br/>
+ Apache Karaf, Karaf, Apache, the Apache feather logo, and the Apache Karaf project logo are trademarks of The Apache Software Foundation.
+ </div>
+ </div>
+ </td>
+ <td id="cell-3-3">
+
+ </td>
+ <td id="cell-3-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-4-0" colspan="2">
+
+ </td>
+ <td id="cell-4-1">
+
+ </td>
+ <td id="cell-4-2" colspan="2">
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
\ No newline at end of file