urce.firefly-example.5.0.0-dev5.source-code.kotlin-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.kotlin.coffee"/> <bean id="localSessionHandler" class="com.firefly.server.http2.router.handler.session.LocalHTTPSessionHandler" destroy-method="stop"/> <bean id="asyncHttpContextTransactionalManager" class="com.firefly.kotlin.ext.db.AsyncCoroutineContextTransactionalManager"> <constructor> <argument type="com.firefly.db.SQLClient" ref="jdbcClient"/> </constructor> </bean> <bean id="ktHttpServer" class="com.firefly.kotlin.ext.http.HttpServer"/> <bean id="ktProjectConfig" class="com.firefly.example.kotlin.coffee.store.ProjectConfig"> <property name="templateRoot" value="template/coffeeStore"/> <property name="host" value="localhost"/> <property name="port" value="8080"/> <property name="loginURL" value="/login"/> <property name="logoutURL" value="/logout"/> <property name="loginUserKey" value="_loginUser"/> <property name="sessionMaxInactiveInterval" value="1800"/> </bean> <bean id="ktMain" class="com.firefly.example.kotlin.coffee.store.AppMain"/> </beans>