<commit_before><?xml version="1.0" encoding="UTF-8"?>
<blueprint default-activation="eager"
           xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0"
           xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
           xsi:schemaLocation="http://www.w3.org/201/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance
            http://aries.apache.org/xmlns/jpa/v1.1.0 http://aries.apache.org/xmlns/jpa/v1.0.0
            0">



  <!-- Data Access object to get EntityManager -->
  <bean id="daoManagerMessenger" init-method="init" class="org.safehaus.subutai.common.dao.DaoManager"
        scope="prototype">
    <jpa:unit unitname="messengerPUnit" property="entityManagerFactory" />
  </bean>

  <bean id="messenger" class="org.safehaus.subutai.core.messenger.impl.MessengerImpl" scope="singleton"
        init-method="init"
        destroy-method="destroy" activation="eager">
    <!--<property name="peerManager" ref="peerManager" />-->
    <property name="daoManager" ref="daoManagerMessenger" />
  </bean>

  <reference-list id="messageListener"
                  interface="org.safehaus.subutai.core.messenger.api.MessageListener"
                  availability="optional" ext:proxy-method="classes"><commit_msg>Refactored Messenger to user reference list instead of explicit listener binding<commit_after><?xml version="1.0" encoding="UTF-8"?>
<blueprint default-activation="eager"
           xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0"
           xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
           xsi:schemaLocation="http://www.w3.org/201/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance
            http://aries.apache.org/xmlns/jpa/v1.1.0 http://aries.apache.org/xmlns/jpa/v1.0.0
            0">



  <!-- Data Access object to get EntityManager -->
  <bean id="daoManagerMessenger" init-method="init" class="org.safehaus.subutai.common.dao.DaoManager"
        scope="prototype">
    <jpa:unit unitname="messengerPUnit" property="entityManagerFactory" />
  </bean>

  <bean id="messenger" class="org.safehaus.subutai.core.messenger.impl.MessengerImpl" scope="singleton"
        init-method="init"
        destroy-method="destroy" activation="eager">
    <property name="daoManager" ref="daoManagerMessenger" />
  </bean>

  <reference-list id="messageListener"
                  interface="org.safehaus.subutai.core.messenger.api.MessageListener"
                  availability="optional" ext:proxy-method="classes">
{'fraction_non_alphanumeric': 0.16497093023255813, 'fraction_numerical': 0.023982558139534885, 'mean_word_length': 3.3837579617834397, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 2, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 20}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6652853', 'n_tokens_mistral': 944, 'n_tokens_neox': 904, 'n_words': 102}