diff options
Diffstat (limited to 'bundles/org.eclipse.jsch.core/schema/identity_repository.exsd')
-rw-r--r-- | bundles/org.eclipse.jsch.core/schema/identity_repository.exsd | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jsch.core/schema/identity_repository.exsd b/bundles/org.eclipse.jsch.core/schema/identity_repository.exsd new file mode 100644 index 000000000..4f9a9b8dd --- /dev/null +++ b/bundles/org.eclipse.jsch.core/schema/identity_repository.exsd @@ -0,0 +1,114 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.jsch.core" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appInfo> + <meta.schema plugin="org.eclipse.jsch.core" id="identityrepository" name="identityrepository"/> + </appInfo> + <documentation> + This extension point allows a plug-in to register an identity repository factory. +This factory is expected to create an instance of <samp>com.jcraft.jsch.IdentityRepository</samp>, which abstracts communications with ssh-agent and Pageant. This extension point must implement the abstract class <samp>org.eclipse.jsch.core.AbstractIdentityRepositoryFactory</samp>. + </documentation> + </annotation> + + <element name="extension"> + <annotation> + <appInfo> + <meta.element /> + </appInfo> + </annotation> + <complexType> + <sequence> + <element ref="identityrepository"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + a fully qualified identifier of the target extension point + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="identityrepository"> + <complexType> + <sequence> + <element ref="run"/> + </sequence> + </complexType> + </element> + + <element name="run"> + <complexType> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + a fully qualified name of a class that implements <code>org.eclipse.jsch.core.AbstractIdentityRepositoryFactory</code> + </documentation> + <appInfo> + <meta.attribute kind="java" basedOn="org.eclipse.jsch.core.AbstractIdentityRepositoryFactory:"/> + </appInfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appInfo> + <meta.section type="since"/> + </appInfo> + <documentation> + 1.2 + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + The following is an example of an identity repository factory for ssh-agent: +<p> +<pre> +<extension point = "org.eclipse.jsch.core.identityrepository"> + <identityrepository> + <run + class="com.jcraft.jsch.agentproxy.eclipse.sshagent.IdentityRepositoryFactory"> + </run> + </identityrepository> +</extension> +</pre> +</p> + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="apiinfo"/> + </appInfo> + <documentation> + The contributed class must implement <code>org.eclipse.jsch.core.AbstractIdentityRepositoryFactory</code>. + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="implementation"/> + </appInfo> + <documentation> + The Eclipse jsch-agent-proxy plugin defines identity repository factories. + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="copyright"/> + </appInfo> + <documentation> + Copyright (c) 2014 IBM Corporation and others.<br> +All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> + </documentation> + </annotation> + +</schema> |