META-INF.org.ops4j.gaderian.module.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Copyright (C) 2005 Johan Maasing johan at zoom.nu 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="nu.zoom.eon" version="2.0.0"> <!-- Instruct the workbench about the plug ins we want started --> <contribution configuration-id="nu.zoom.swing.desktop.PlugIns"> <plugin serviceName="nu.zoom.eon.About"/> <plugin serviceName="nu.zoom.eon.Connections"/> <plugin serviceName="nu.zoom.swing.desktop.Browser" /> </contribution> <!-- Workbench Plug ins --> <service-point id="About" interface="nu.zoom.swing.desktop.PlugIn"> <invoke-factory> <construct class="nu.zoom.ldap.eon.about.About"> <service>nu.zoom.swing.desktop.Workbench</service> <messages /> <service>nu.zoom.swing.desktop.Browser</service> </construct> </invoke-factory> </service-point> <service-point id="Connections" interface="nu.zoom.swing.desktop.PlugIn"> <invoke-factory> <construct class="nu.zoom.ldap.eon.connection.ConnectionPlugIn"> <service>nu.zoom.swing.desktop.Workbench</service> <messages /> <service>OperationManager</service> <service>ComponentFactory</service> <configuration>ConnectionTypes</configuration> <service>DNSResolver</service> </construct> </invoke-factory> </service-point> <!-- Other services --> <service-point id="PasswordConnectionFactory" interface="nu.zoom.ldap.eon.connection.ConnectionFactory"> <invoke-factory> <construct class="nu.zoom.ldap.eon.connection.password.PasswordConnectionFactory"> <service>nu.zoom.swing.desktop.Preferences</service> <service>nu.zoom.swing.desktop.Workbench</service> <messages /> <service>ComponentFactory</service> <service>OperationManager</service> </construct> </invoke-factory> </service-point> <!-- Defines the types of connections--> <configuration-point id="ConnectionTypes"> <schema> <element name="connectionFactory"> <attribute name="serviceName" required="true" unique="true" translator="service" /> <rules> <push-attribute attribute="serviceName" /> <invoke-parent method="addElement" /> </rules> </element> </schema> </configuration-point> <!-- Types of connections to actually use --> <contribution configuration-id="nu.zoom.eon.ConnectionTypes"> <connectionFactory serviceName="nu.zoom.eon.PasswordConnectionFactory" /> </contribution> <service-point id="OperationRunner" interface="nu.zoom.ldap.eon.operation.OperationRunner"> <invoke-factory model="pooled"> <construct class="nu.zoom.ldap.eon.operation.OperationRunnerImpl"> <service>OperationManager</service> <service>nu.zoom.swing.desktop.Workbench</service> <messages /> </construct> </invoke-factory> </service-point> <service-point id="OperationManager" interface="nu.zoom.ldap.eon.operation.OperationManager"> <invoke-factory model="pooled"> <construct class="nu.zoom.ldap.eon.operation.OperationManagerImpl"> <service>nu.zoom.swing.desktop.Workbench</service> <service>OperationRunner</service> </construct> </invoke-factory> </service-point> <service-point id="ComponentFactory" interface="nu.zoom.ldap.eon.desktop.ComponentFactory"> <invoke-factory> <construct class="nu.zoom.ldap.eon.desktop.ComponentFactoryImpl"> <service>nu.zoom.swing.desktop.Workbench</service> <messages /> <service>OperationManager</service> <service>nu.zoom.swing.desktop.Preferences</service> <service>AttributeEditorFactory</service> <service>DirectoryEventListenerRegistry</service> <configuration>DirectoryTreePopUpItems</configuration> </construct> </invoke-factory> </service-point> <service-point id="DirectoryClipboard" interface="nu.zoom.ldap.eon.clipboard.DirectoryClipboard"> <invoke-factory> <construct class="nu.zoom.ldap.eon.clipboard.impl.DirectoryClipboardImpl"> <messages /> <service>nu.zoom.swing.desktop.Workbench</service> <service>DirectoryEventListenerRegistry</service> </construct> </invoke-factory> </service-point> <!-- Lists the services that should go on the tree popup menu --> <configuration-point id="DirectoryTreePopUpItems"> <schema> <element name="item"> <attribute name="serviceName" required="true" unique="true" translator="service" /> <rules> <push-attribute attribute="serviceName" /> <invoke-parent method="addElement" /> </rules> </element> </schema> </configuration-point> <!-- Things that should go on the Directory tree pop up --> <service-point id="TreeCopyItem" interface="nu.zoom.ldap.eon.directory.tree.DirectoryTreePopUpItem"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.tree.CopyItem"> <messages /> <service>DirectoryClipboard</service> <service>nu.zoom.swing.desktop.Workbench</service> </construct> </invoke-factory> </service-point> <!-- Not implemented, do not have the motivation to do so, most of it is in place though --> <!-- <service-point id="TreeCutItem" interface="nu.zoom.ldap.eon.directory.tree.DirectoryTreePopUpItem"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.tree.CutItem"> <messages /> <service>DirectoryClipboard</service> <service>nu.zoom.swing.desktop.Workbench</service> </construct> </invoke-factory> </service-point> --> <service-point id="TreePasteItem" interface="nu.zoom.ldap.eon.directory.tree.DirectoryTreePopUpItem"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.tree.PasteItem"> <messages /> <service>DirectoryClipboard</service> <service>nu.zoom.swing.desktop.Workbench</service> </construct> </invoke-factory> </service-point> <service-point id="TreeDeleteItem" interface="nu.zoom.ldap.eon.directory.tree.DirectoryTreePopUpItem"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.tree.DeleteItem"> <messages /> <service>nu.zoom.swing.desktop.Workbench</service> <service>DirectoryEventListenerRegistry</service> </construct> </invoke-factory> </service-point> <service-point id="TreeRenameItem" interface="nu.zoom.ldap.eon.directory.tree.DirectoryTreePopUpItem"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.tree.RenameItem"> <messages /> <service>nu.zoom.swing.desktop.Workbench</service> <service>DirectoryEventListenerRegistry</service> </construct> </invoke-factory> </service-point> <service-point id="TreeRefreshItem" interface="nu.zoom.ldap.eon.directory.tree.DirectoryTreePopUpItem"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.tree.RefreshItem"> <messages /> </construct> </invoke-factory> </service-point> <contribution configuration-id="DirectoryTreePopUpItems"> <item serviceName="TreeRefreshItem"/> <item serviceName="TreeRenameItem"/> <item serviceName="TreeCopyItem"/> <!-- <item serviceName="nu.zoom.eon.TreeCutItem"/> --> <item serviceName="TreePasteItem"/> <item serviceName="TreeDeleteItem"/> </contribution> <service-point id="StringAttributeEditor" interface="nu.zoom.ldap.eon.directory.attributes.AttributeEditor"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.attributes.StringEditor"> <service>nu.zoom.swing.desktop.Workbench</service> <messages /> <service>OperationManager</service> <service>DirectoryEventListenerRegistry</service> </construct> </invoke-factory> </service-point> <service-point id="AttributeEditorFactory" interface="nu.zoom.ldap.eon.directory.attributes.AttributeEditorFactory"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.attributes.AttributeEditorFactoryImpl"> <service>StringAttributeEditor</service> </construct> </invoke-factory> </service-point> <service-point id="DirectoryEventListenerRegistry" interface="nu.zoom.ldap.eon.directory.event.DirectoryEventListenerRegistry"> <invoke-factory> <construct class="nu.zoom.ldap.eon.directory.event.impl.EventListenerRegistryImpl"> </construct> </invoke-factory> </service-point> <service-point id="DNSResolver" interface="nu.zoom.util.dns.Resolver"> <invoke-factory> <construct class="nu.zoom.util.dns.impl.ResolverImpl"> </construct> </invoke-factory> </service-point> </module>