Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse RSE Development Guide
Previous Page Home Next Page

Persistence Providers

Identifier:
org.eclipse.rse.core.persistenceProviders

Description:
This extension point is used to allow the delegation of profile persistence to vendors where needed.

Configuration Markup:

<!ELEMENT extension ( persistenceProvider*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT persistenceProvider ( property)*>

<!ATTLIST persistenceProvider

id        CDATA #REQUIRED

name      CDATA #REQUIRED

class     CDATA #REQUIRED

autostart (true | false) "false"

>

The persistenceProvider element defines a class that implements the IRSEPersistenceProvider interface. It is used to persist the RSE object model to a form of external storage.


  • id - a unique name that will be used to identify the persistence Provider.
  • name - a translatable name that will be used to identify this persistence Provider in the UI.
  • class - a fully qualified name of the Java class that implements the org.eclipse.rse.persistence.IRSEPersistenceProvider interface.
  • autostart - The autostart attribute determines if the persistence provider will be loaded and asked to restore the profiles known to it at the time RSE starts.

<!ELEMENT property EMPTY>

<!ATTLIST property

name  CDATA #REQUIRED

value CDATA #REQUIRED

>

The property element is contained within the persistenceProvider element. Use these to provide properties that can tailor the behavior of a persistence provider. Each provider must document the properties that it expects.


  • name - The name attribute provides the name for this property.
  • value - The value attribute provides the string value for this property.

Examples:
The following is an example of this extension point's usage:


   <extension point=
"org.eclipse.rse.core.persistenceProviders"
>
      <persistenceProvider
         id=
"org.eclipse.rse.persistence.DefaultRSEpersistenceProvider"

         name=
"Default persistence Provider"

         class=
"org.eclipse.rse.persistence.DefaultRSEpersistenceProvider"

         autostart=
"true"
>
      </persistenceProvider>
   </extension>

Supplied Implementation:
The Remote System Explorer in org.eclipse.rse.core provides a default implementation of this extension point.


Copyright (c) 2006, 2007 IBM Corporation. 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 https://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation David Dykstal (IBM) - added autostart attribute


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire