Package org.nuxeo.launcher.connect
Class ConnectRegistrationBroker
java.lang.Object
org.nuxeo.launcher.connect.ConnectRegistrationBroker
- Since:
 - 8.3
 - Author:
 - Arnaud Kervern
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionList<org.nuxeo.connect.data.ConnectProject>getAvailableProjects(String username, char[] password) org.nuxeo.connect.data.ConnectProjectgetProjectByName(String projectName, List<org.nuxeo.connect.data.ConnectProject> availableProjects) Find a project by its symbolic name, ignoring casevoidregisterLocal(String strCLID, String description) voidregisterRemote(String username, char[] password, String projectId, org.nuxeo.connect.connector.NuxeoClientInstanceType type, String description) protected static org.nuxeo.connect.registration.ConnectRegistrationServicevoidRenews a registration. 
- 
Constructor Details
- 
ConnectRegistrationBroker
public ConnectRegistrationBroker() 
 - 
 - 
Method Details
- 
registration
protected static org.nuxeo.connect.registration.ConnectRegistrationService registration() - 
registerLocal
public void registerLocal(String strCLID, String description) throws IOException, ConfigurationException - Throws:
 IOExceptionConfigurationException
 - 
registerRemote
public void registerRemote(String username, char[] password, String projectId, org.nuxeo.connect.connector.NuxeoClientInstanceType type, String description) throws IOException, ConfigurationException - Throws:
 IOExceptionConfigurationException
 - 
remoteRenewRegistration
public void remoteRenewRegistration() throws IOException, org.nuxeo.connect.registration.RegistrationExceptionRenews a registration.- Throws:
 IOExceptionorg.nuxeo.connect.registration.RegistrationException- Since:
 - 8.10-HF15
 
 - 
getProjectByName
public org.nuxeo.connect.data.ConnectProject getProjectByName(String projectName, List<org.nuxeo.connect.data.ConnectProject> availableProjects) Find a project by its symbolic name, ignoring case- Parameters:
 projectName- project symbolic nameavailableProjects- projects in which to to look forproject- Returns:
 - the project or null if not found
 
 - 
getAvailableProjects
public List<org.nuxeo.connect.data.ConnectProject> getAvailableProjects(String username, char[] password) throws ConfigurationException - Throws:
 ConfigurationException
 
 -