cancel
Showing results for 
Search instead for 
Did you mean: 

Java NuxeoClient resource

__2
Champ in-the-making
Champ in-the-making

I've written a few short example apps tailored to my needs using Java client 3.6. Now it's time to integrate all of this in the real application. If I want to deliver Nuxeo security, I have to access Nuxeo as the logged in user. So my best guess so far is that I have to create a short-lived NuxeoClient instance with the user credentials, perform simple operations like uploading a file into Nuxeo Server and then basically I'm done with the NuxeoClient instance since I can't reuse it for the next operations performed by another user. Is there a clean way to dispose of the NuxeoClient instance when I'm done using it? There is no close() method but should I use disconnect() for instance?

Thanks in advance for your help.

1 REPLY 1

Kevin_Leturc
Star Contributor
Star Contributor

Hello,

You can use the disconnect method to free some resources.

Regards

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.