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

org.smallmind.web.grizzly.grizzly.xml Maven / Gradle / Ivy

There is a newer version: 5.9.0
Show newest version
<?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-4.3.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="soapPath" value="${grizzly.soap_path}"/>
    <property name="jaxRSOption">
      <bean class="org.smallmind.web.grizzly.option.JaxRSOption">
        <property name="restPath" value="${grizzly.rest_path}"/>
      </bean>
    </property>
    <property name="resourceConfigExtensions">
      <list>
        <bean class="org.smallmind.web.jersey.aop.EntityParamResourceConfigExtension"/>
        <bean class="org.smallmind.web.jersey.json.XmlAdapterParamResourceConfigurationExtension"/>
        <bean class="org.smallmind.web.jersey.json.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 - 2024 Weber Informatics LLC | Privacy Policy