Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (C) 2004 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.swing.desktop.plugin.portunis" 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.swing.desktop.plugin.portunis.KeyStoreHandlerComponent"/>
	</contribution>
	
	<!-- Plug in services (implements nu.zoom.swing.desktop.PlugIn -->
	<service-point id="KeyStoreHandlerComponent" interface="nu.zoom.swing.desktop.PlugIn">
		<invoke-factory>
			<construct class="nu.zoom.swing.desktop.plugin.portunis.impl.KeyStorePlugIn">
				<service>nu.zoom.swing.desktop.Workbench</service>
				<service>ApplicationPreferences</service>
				<service>KeyStoreHandler</service>
			</construct>
		</invoke-factory>
	</service-point>
	
	<service-point id="KeyStoreHandler" interface="nu.zoom.swing.desktop.plugin.portunis.KeyStoreHandler">
		<invoke-factory>
			<construct class="nu.zoom.swing.desktop.plugin.portunis.impl.KeyStoreHandlerImpl" />
		</invoke-factory>
	</service-point>
	
	<service-point id="ApplicationPreferences" interface="nu.zoom.swing.desktop.plugin.portunis.ApplicationPreferences">
		<invoke-factory>
			<construct class="nu.zoom.swing.desktop.plugin.portunis.impl.ApplicationPreferencesImpl">
				<service>nu.zoom.swing.desktop.Preferences</service>
			</construct>
		</invoke-factory>
	</service-point>
</module>
New to GrepCode? Check out our FAQ X