| Commit in servicemix/tooling/servicemix-web/src/webapp on MAIN | |||
| WEB-INF/applicationContext.xml | +33 | added 1.1 | |
| /web.xml | +16 | -4 | 1.1 -> 1.2 |
| blank.html | +12 | added 1.1 | |
| mbeanDetail.jsp | +27 | added 1.1 | |
| index.html | +1 | -1 | 1.2 -> 1.3 |
| style.css | +17 | -4 | 1.1 -> 1.2 |
| +106 | -9 | ||
* enabled servicemix by default * tidied up CSS * added a detail view of the MBeans
servicemix/tooling/servicemix-web/src/webapp/WEB-INF
applicationContext.xml added at 1.1
diff -N applicationContext.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ applicationContext.xml 12 Sep 2005 17:45:45 -0000 1.1 @@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns:my="http://servicemix.org/demo/"> + + <!-- the JBI container --> + <container id="jbi"> + <property name="rootDir" value="../wdir"/> + <property name="useMBeanServer" value="true"/> + <property name="createMBeanServer" value="true"/> + <property name="installationDirPath" value="install"/> + <property name="deploymentDirPath" value="deploy"/> + <property name="monitorInstallationDirectory" value="true"/> + <property name="dumpStats" value="true"/> + <property name="statsInterval" value="10"/> + <property name="flowName" value = "seda"/> + <property name="transactionManager" ref="transactionManager"/> + + <components> + </components> + </container> + + <bean id="transactionManager" class="org.jencks.factory.TransactionManagerFactoryBean"/> + + <bean id="jmsFactory" class="org.activemq.pool.PooledConnectionFactory"> + <property name="connectionFactory"> + <bean class="org.activemq.ActiveMQConnectionFactory"> + <property name="brokerURL"> + <value>tcp://localhost:61616</value> + </property> + </bean> + </property> + </bean> + +</beans>
servicemix/tooling/servicemix-web/src/webapp/WEB-INF
diff -u -r1.1 -r1.2 --- web.xml 12 Sep 2005 08:44:18 -0000 1.1 +++ web.xml 12 Sep 2005 17:45:45 -0000 1.2 @@ -7,12 +7,24 @@
<web-app> <display-name>ServiceMix Web Application</display-name>
- <description> - Deploys ServiceMix inside a Web Application - </description>
+ <description>Deploys ServiceMix inside a Web Application</description>
- <!-- servlet mappings -->
+ <context-param> + <param-name>contextConfigLocation</param-name> + <param-value>/WEB-INF/applicationContext.xml</param-value> + </context-param> + <context-param> + <param-name>contextClass</param-name> + <param-value>org.servicemix.jbi.config.XmlWebApplicationContext</param-value> + </context-param> + + <listener> + <listener-class> + org.springframework.web.context.ContextLoaderListener + </listener-class> + </listener>
+ <!-- servlet mappings -->
<!-- the main JMX servlet --> <servlet>
servicemix/tooling/servicemix-web/src/webapp
blank.html added at 1.1
diff -N blank.html --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ blank.html 12 Sep 2005 17:45:45 -0000 1.1 @@ -0,0 +1,12 @@
+<html> +<head> +<title>Chat</title> +<link rel="stylesheet" href="" type="text/css"> +</head> +<body> + +<h1>MBean Details</h1> + + +</body> +</html>
servicemix/tooling/servicemix-web/src/webapp
mbeanDetail.jsp added at 1.1
diff -N mbeanDetail.jsp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ mbeanDetail.jsp 12 Sep 2005 17:45:45 -0000 1.1 @@ -0,0 +1,27 @@
+<[EMAIL PROTECTED] contentType="text/html; charset=ISO-8859-1" %> +<html> +<head> +<title>MBean Details</title> +<link rel="stylesheet" href="" type="text/css"> +</head> + +<body> + +<h1>MBean Details</h1> + +<h2>Properties</h2> + +<jsp:include page="jmx/"> + <jsp:param name="view" value="properties"/> + <jsp:param name="style" value="html"/> +</jsp:include> + +<h2>Attributes</h2> + +<jsp:include page="jmx/"> + <jsp:param name="view" value="attributes"/> + <jsp:param name="style" value="html"/> +</jsp:include> + +</body> +</html>
servicemix/tooling/servicemix-web/src/webapp
diff -u -r1.2 -r1.3 --- index.html 12 Sep 2005 16:25:44 -0000 1.2 +++ index.html 12 Sep 2005 17:45:45 -0000 1.3 @@ -4,7 +4,7 @@
<link rel="stylesheet" href="" type="text/css"> </head>
-<FRAMESET cols="20%, 80%">
+<FRAMESET cols="40%, 60%">
<FRAME name="tree" src=""> <!-- <FRAMESET rows="100, 200">
servicemix/tooling/servicemix-web/src/webapp
diff -u -r1.1 -r1.2 --- style.css 12 Sep 2005 08:44:18 -0000 1.1 +++ style.css 12 Sep 2005 17:45:45 -0000 1.2 @@ -1,3 +1,20 @@
+table {
+ margin: 5px;
+ border-collapse: collapse;
+}
+
+td {
+ border: 1px solid #ccc;
+ padding: 3px 4px 3px 4px;
+}
+
+th {
+ border: 1px solid #ccc;
+ padding: 3px 4px 3px 4px;
+ background: #f0f0f0;
+ text-align: center;
+}
+
body th {
font-family: Verdana, Helvetica, Arial, sans-serif;
@@ -12,10 +29,6 @@
color: #008800; text-decoration: none; font-weight: bold;
-}
-
-table, th, td {
- border: none;
}
.a td {
