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

urce.firefly-example.5.0.0-dev5.source-code.java-example.xml Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.fireflysource.com/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.fireflysource.com/beans http://www.fireflysource.com/beans.xsd">

    <import resource="datasource.xml"/>

    <component-scan base-package="com.firefly.example.reactive.coffee"/>

    <bean id="localSessionHandler" class="com.firefly.server.http2.router.handler.session.LocalHTTPSessionHandler"
          destroy-method="stop"/>

    <bean id="projectConfig" class="com.firefly.example.reactive.coffee.store.ProjectConfig">
        <property name="templateRoot" value="template/coffeeStore"/>
        <property name="host" value="localhost"/>
        <property name="port" value="8080"/>
    </bean>

    <bean id="reactiveMain" class="com.firefly.example.reactive.coffee.store.AppMain"/>

    <bean id="reactiveSQLClient" class="com.firefly.reactive.adapter.db.ReactiveSQLClientAdapter">
        <constructor>
            <argument type="com.firefly.db.SQLClient" ref="jdbcClient"/>
        </constructor>
    </bean>

    <bean id="httpServer" class="com.firefly.server.http2.HTTP2ServerBuilder"
          init-method="httpServer"
          destroy-method="stop"/>


</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy