| <?xml version="1.0"?> |
| <!-- |
| Copyright 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="tapestry.event" version="4.1.0" > |
| |
| Mappings from client side events to IActionListener instances. |
| |
| <service-point id="EventInvoker" interface="org.apache.tapestry.internal.event.IComponentEventInvoker"> |
| |
| Manages invoking / connecting events between components and browser. |
| |
| <invoke-factory> |
| <construct class="org.apache.tapestry.internal.event.impl.ComponentEventInvoker"> |
| <event-listener service-id="tapestry.ResetEventHub"/> |
| <set-object property="invoker" value="infrastructure:listenerInvoker" /> |
| </construct> |
| </invoke-factory> |
| |
| </service-point> |
| |
| <contribution configuration-id="tapestry.services.FactoryServices"> |
| <service name="directevent" object="service:tapestry.event.DirectEvent" /> |
| </contribution> |
| |
| <service-point id="DirectEvent" interface="org.apache.tapestry.engine.IEngineService"> |
| <invoke-factory> |
| <construct class="org.apache.tapestry.engine.DirectEventService"> |
| <set-object property="responseRenderer" value="infrastructure:responseRenderer" /> |
| <set-object property="request" value="infrastructure:request" /> |
| <set-object property="linkFactory" value="infrastructure:linkFactory" /> |
| <set-object property="requestCycle" value="infrastructure:requestCycle" /> |
| </construct> |
| </invoke-factory> |
| </service-point> |
| |
| </module> |