urce.firefly-example.5.0.0-dev5.source-code.java-example.xml Maven / Gradle / Ivy
<?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>