All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.jonas-db-h2-core.5.3.0.source-code.metadata.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - JOnAS: Java(TM) Open Application Server
  - Copyright (C) 2011 Bull S.A.S.
  - Contact: [email protected]
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or any later version.
  -
  - This library 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
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  - USA
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id: metadata.xml 22339 2012-04-12 11:15:09Z cazauxj $
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<ipojo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="org.apache.felix.ipojo"
       xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.8.0/core.xsd" >

  <component classname="org.ow2.jonas.db.h2.H2DBServiceImpl"
             immediate="false">

    <provides specifications="org.ow2.jonas.db.DBService" />

    <!-- Required dependencies -->
    <requires optional="false"
              specification="org.ow2.jonas.properties.ServerProperties">
      <!-- @specification is required here because only the abstract JOnAS
           service reference that class, and iPOJO cannot introspect
           bytecode of that class that is not inside this bundle -->
      <callback type="bind" method="setServerProperties" />
    </requires>

    <requires optional="false"
              specification="org.ow2.jonas.jmx.JmxService"
              aggregate="false">
      <callback type="bind" method="bindJmxService"/>
      <callback type="unbind" method="unbindJmxService"/>
    </requires>

    <!-- LifeCycle callbacks -->
    <callback transition="validate" method="start" />
    <callback transition="invalidate" method="stop" />

    <properties propagation="true">
      <!-- @type is required for all the properties because they are
           declared in the AbsDBServiceImpl class, that is located in
           another bundle -->
      <property name="port" method="setPort" type="java.lang.String" />
      <property name="dbname" method="setDbname" type="java.lang.String" />
      <property name="users" method="setUsers" type="java.lang.String" />
      
      <property name="h2.extra-args" method="setExtraArgs" type="java.lang.String"/>
    </properties>
  </component>
</ipojo>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy