org.eclipse.emf.emfstore.client.provider
Interface ESClientConfigurationProvider


public interface ESClientConfigurationProvider

This provider allows to set the default ESServer and initialize the ESKeyStoreManager with necessary certificates.

Author:
wesendon

Method Summary
 List<ESServer> getDefaultServerInfos()
           Returns a list of default ESServers.
 void initDefaultCertificates(ESKeyStoreManager keyStoreManager)
          Allows the ESClientConfigurationProvider to initialize the ESKeyStoreManager.
 

Method Detail

getDefaultServerInfos

List<ESServer> getDefaultServerInfos()

Returns a list of default ESServers.

NOTE: This method is called during workspace initialization, i.e. you must NOT use ESWorkspaceProvider.INSTANCE in the scope of this method. This means you must not create a session while creating the default server information.

Returns:
a list of default server entries

initDefaultCertificates

void initDefaultCertificates(ESKeyStoreManager keyStoreManager)
Allows the ESClientConfigurationProvider to initialize the ESKeyStoreManager. Use ESKeyStoreManager.setDefaultCertificate(String) to set the default alias and ESKeyStoreManager.addCertificate(String, java.io.InputStream) to add your certificate.

Parameters:
keyStoreManager - the ESKeyStoreManager to be initialized


Copyright © 2015. All Rights Reserved.