org.smallmind.web.grizzly.grizzly.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <bean id="hk2ResourceBeanPostProcessor" class="org.smallmind.web.jersey.spring.HK2ResourceBeanPostProcessor"/> <bean id="restHttpServer" class="org.smallmind.web.grizzly.GrizzlyInitializingBean"> <property name="host" value="${grizzly.host}"/> <property name="port" value="${grizzly.port}"/> <property name="contextPath" value="${grizzly.context_path}"/> <property name="staticPath" value="${grizzly.static_path}"/> <property name="restPath" value="${grizzly.rest_path}"/> <property name="soapPath" value="${grizzly.soap_path}"/> <property name="webSocketPath" value="${grizzly.web_socket_path}"/> <property name="resourceConfigExtensions"> <list> <bean class="org.smallmind.web.jersey.aop.EntityParamResourceConfigExtension"/> <bean class="org.smallmind.web.jersey.util.XmlAdapterParamResourceConfigurationExtension"/> <bean class="org.smallmind.web.jersey.fault.ThrowableTranslationResourceConfigExtension"/> </list> </property> <!-- <property name="sslInfo"> <bean class="org.smallmind.web.grizzly.SSLInfo"> <property name="keySSLStore"> <bean class="org.smallmind.web.grizzly.SSLStore"> <property name="resource" value="classpath:com/mydomain/mycertificate.jks"/> <property name="password" value="changeit"/> </bean> </property> <property name="port" value="443"/> </bean> </property> --> <!-- <property name="addOns"> <list> <bean class="org.glassfish.grizzly.websockets.WebSocketAddOn"/> </list> </property> --> </bean> <!-- <bean class="org.smallmind.web.grizzly.ServletInstaller"> <property name="displayName" value="Jolokia Agent"/> <property name="servletClass" value="org.jolokia.http.AgentServlet"/> <property name="urlPattern" value="/jolokia/*"/> </bean> --> <!-- WebSocketEngine.getEngine().register("/websocket", "/myapp/*", new ChannelWebSocketApplication()); --> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy