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

OSGI-INF.blueprint.blueprint.xml Maven / Gradle / Ivy

There is a newer version: 2.3.18
Show newest version
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/${blueprint.ns}"
  xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/${blueprint.cm}">

  <!-- MANAGED PROPERTIES -->
  <cm:property-placeholder persistent-id="com.eurodyn.qlack2.fuse.caching" update-strategy="reload">
    <cm:default-properties>
      <cm:property name="active" value="false"/>
      <cm:property name="maxEntries" value="0"/>
      <cm:property name="expiryTime" value="0"/>
      <cm:property name="cacheURL" value="localhost:11211"/>
    </cm:default-properties>
  </cm:property-placeholder>

  <!-- LOCAL BEANS & SERVICES -->
  <bean id="CacheServiceImpl"
    class="com.eurodyn.qlack2.fuse.caching.impl.memcached.CacheServiceImpl"
    destroy-method="destroy">
    <property name="active" value="${active}"/>
    <property name="maxEntries" value="${maxEntries}"/>
    <property name="expiryTime" value="${expiryTime}"/>
    <property name="cacheURL" value="${cacheURL}"/>
  </bean>
  <service id="CacheService" ref="CacheServiceImpl"
    interface="com.eurodyn.qlack2.fuse.caching.api.CacheService">
  </service>

</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy