123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?xml version="1.0"?>
- <!--
- Copyright 2004, 2005 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <module id="webadmin.state" version="1.0.0">
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="DatasourceSpecificationsSource" scope="application">
- <create-instance class="jeus.tool.webadmin.jdbc.XMLDatasourceSpecificationsSource"/>
- </state-object>
- </contribution>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="MQResourceSpecificationsSource" scope="application">
- <create-instance class="jeus.tool.webadmin.mq.XMLMQResourceSpecificationsSource"/>
- </state-object>
- </contribution>
-
- <!--
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="TroubleSnapshotMap" scope="application">
- <create-instance class="java.util.HashMap"/>
- </state-object>
- </contribution>
- -->
-
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="XMLSchemaResourceSource" scope="application">
- <create-instance class="jeus.tool.resource.xsd.XMLSchemaResourceSource"/>
- </state-object>
- </contribution>
- <service-point id="HelpURLsSourceFactory" interface="org.apache.tapestry.engine.state.StateObjectFactory">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.HelpURLsSourceFactory">
- <set-object property="helpLocales" value="app-property:jeus.tool.webadmin.supported-help-locales"/>
- </construct>
- </invoke-factory>
- </service-point>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="HelpURLsSource" scope="application">
- <invoke-factory object="service:HelpURLsSourceFactory"/>
- </state-object>
- </contribution>
-
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="NavigationsSource" scope="application">
- <create-instance class="jeus.tool.webadmin.navigation.DefaultNavigationsSource"/>
- </state-object>
- </contribution>
-
- <service-point id="JeusTreeNodeSpecSourceFactory" interface="org.apache.tapestry.engine.state.StateObjectFactory">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.JeusTreeNodeSpecSourceFactory">
- <set-object property="assetSource" value="service:tapestry.asset.AssetSource"/>
- <set-service property="threadLocale" service-id="hivemind.ThreadLocale"/>
- <set-object property="dataSqueezer" value="infrastructure:dataSqueezer"/>
- </construct>
- </invoke-factory>
- </service-point>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="TreeNodeSpecSource" scope="application">
- <invoke-factory object="service:JeusTreeNodeSpecSourceFactory"/>
- </state-object>
- </contribution>
-
- <service-point id="JAXBSourceFactory" interface="org.apache.hivemind.ServiceImplementationFactory" parameters-occurs="0..n">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.JAXBSourceFactory">
- <set-object property="appStateManager" value="infrastructure:applicationStateManager"/>
- </construct>
- </invoke-factory>
- </service-point>
- <service-point id="JAXBSource" interface="jeus.tool.webadmin.xml.IJAXBSource">
- <invoke-factory model="threaded" service-id="JAXBSourceFactory"/>
- </service-point>
-
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="JAXBSourcePool" scope="application">
- <create-instance class="java.util.HashMap"/>
- </state-object>
- </contribution>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="lock" scope="application">
- <create-instance class="jeus.tool.webadmin.hivemind.Lock" />
- </state-object>
- </contribution>
- <service-point id="requestStateObjectFactory" interface="org.apache.hivemind.ServiceImplementationFactory" parameters-occurs="0..n">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.RequestStateObjectFactory">
- <set-object property="appStateManager" value="infrastructure:applicationStateManager"/>
- <set-service property="JAXBSource" service-id="JAXBSource"></set-service>
- </construct>
- </invoke-factory>
- </service-point>
- <service-point id="requestStateObject" interface="jeus.tool.webadmin.hivemind.IRequestStateObject">
- <invoke-factory model="threaded" service-id="requestStateObjectFactory"/>
- </service-point>
-
- <!-- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="Monitor" scope="application">
- <create-instance class="jeus.tool.webadmin.hivemind.MonitorStorage"/>
- </state-object>
- </contribution>-->
- <!--
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="explosive" scope="session">
- <create-instance class="jeus.tool.webadmin.component.Explosive" />
- </state-object>
- </contribution>
- -->
- <service-point id="NodeControlFactory" interface="org.apache.tapestry.engine.state.StateObjectFactory">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.NodeControlFactory">
- <set-object property="appStateManager" value="infrastructure:applicationStateManager"/>
- </construct>
- </invoke-factory>
- </service-point>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="NodeControl" scope="session">
- <invoke-factory object="service:NodeControlFactory"/>
- </state-object>
- </contribution>
- <service-point id="SettingsFactory" interface="org.apache.tapestry.engine.state.StateObjectFactory">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.SettingsFactory">
- <set-object property="appStateManager" value="infrastructure:applicationStateManager"/>
- <set-object property="cookieSource" value="infrastructure:cookieSource"/>
- <set-object property="defaultLocale" value="app-property:jeus.tool.webadmin.locale.language"/>
- <set-object property="enabledLock" value="app-property:jeus.tool.webadmin.lock"/>
- </construct>
- </invoke-factory>
- </service-point>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="Settings" scope="session">
- <invoke-factory object="service:SettingsFactory"/>
- </state-object>
- </contribution>
-
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="visit" scope="session">
- <create-instance class="jeus.tool.webadmin.hivemind.WebadminVisit"/>
- </state-object>
- </contribution>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="TableSource" scope="session">
- <create-instance class="jeus.tool.webadmin.hivemind.TableSource"/>
- </state-object>
- </contribution>
-
- <service-point id="JeusTreeNodeBuilderFactory" interface="org.apache.tapestry.engine.state.StateObjectFactory">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.hivemind.factory.JeusTreeNodeBuilderFactory">
- <set-object property="appStateManager" value="infrastructure:applicationStateManager"/>
- </construct>
- </invoke-factory>
- </service-point>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="JeusTreeNodeBuilder" scope="application">
- <invoke-factory object="service:JeusTreeNodeBuilderFactory"/>
- </state-object>
- </contribution>
-
-
- <service-point id="WebtoBMonitorFactory" interface="org.apache.tapestry.engine.state.StateObjectFactory">
- <invoke-factory>
- <construct class="jeus.tool.webadmin.page.JeusMonitoringWebtoBMonitoringService.WebtoBMonitorFactory">
- </construct>
- </invoke-factory>
- </service-point>
- <contribution configuration-id="tapestry.state.ApplicationObjects">
- <state-object name="WebtoBMonitor" scope="session">
- <invoke-factory object="service:WebtoBMonitorFactory"/>
- </state-object>
- </contribution>
-
- </module>
|