forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent-components.xml
50 lines (43 loc) · 2.14 KB
/
component-components.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?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.xsd">
<bean id="org.sakaiproject.component.api.ServerConfigurationService"
class="org.sakaiproject.component.impl.BasicConfigurationService"
init-method="init"
destroy-method="destroy">
<property name="threadLocalManager" ref="org.sakaiproject.thread_local.api.ThreadLocalManager" />
<property name="sessionManager" ref="org.sakaiproject.tool.api.SessionManager" />
<property name="toolOrderFile" value="${sakai.home}toolOrder.xml"/>
<property name="defaultToolOrderResource" value="classpath:/org/sakaiproject/config/toolOrder.xml"/>
<property name="sakaiProperties" ref="org.sakaiproject.component.SakaiProperties"/>
</bean>
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter">
<property name="beans">
<map>
<entry key="bean:name=org.sakaiproject.config.impl.ConfigurationMBean"
value-ref="org.sakaiproject.config.impl.ConfigurationMBean"/>
</map>
</property>
</bean>
<bean id="org.sakaiproject.config.impl.ConfigurationMBean"
class="org.sakaiproject.config.impl.ConfigurationMBean">
<property name="serverConfigurationService"
ref="org.sakaiproject.component.api.ServerConfigurationService"/>
</bean>
<beans profile="jmx">
<bean id="serverConnector" class="org.springframework.jmx.support.ConnectorServerFactoryBean">
<!-- Pass jmx.service.url=service:jmx:jmxmp://localhost:9999 to change port listeneing on -->
<property name="serviceUrl">
<bean class="java.lang.System" factory-method="getProperty">
<constructor-arg value="jmx.service.url"/>
<constructor-arg value="service:jmx:jmxmp://localhost:9875"/>
</bean>
</property>
<property name="environment">
<!-- If you pass in jmx.remote.server.address.wildcard=false then it will only listen on localhost -->
<bean class="java.lang.System" factory-method="getProperties"/>
</property>
</bean>
</beans>
</beans>