Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client.jaxrs.spi
Class AsyncAutomationClient

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.spi.AbstractAutomationClient
      extended by org.nuxeo.ecm.automation.client.jaxrs.spi.AsyncAutomationClient
All Implemented Interfaces:
AutomationClient
Direct Known Subclasses:
HttpAutomationClient

public abstract class AsyncAutomationClient
extends AbstractAutomationClient

Author:
Bogdan Stefanescu

Constructor Summary
AsyncAutomationClient(String url)
           
AsyncAutomationClient(String url, ExecutorService executor)
           
 
Method Summary
 void asyncExec(Runnable runnable)
           
 void shutdown()
          Cleanup any resources held by this client.
 
Methods inherited from class org.nuxeo.ecm.automation.client.jaxrs.spi.AbstractAutomationClient
getAdapter, getBaseUrl, getRequestInterceptor, getSession, getSession, getSession, getSession, getSession, getSession, registerAdapter, setBasicAuth, setRequestInterceptor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncAutomationClient

public AsyncAutomationClient(String url)

AsyncAutomationClient

public AsyncAutomationClient(String url,
                             ExecutorService executor)
Method Detail

asyncExec

public void asyncExec(Runnable runnable)
Overrides:
asyncExec in class AbstractAutomationClient

shutdown

public void shutdown()
Description copied from interface: AutomationClient
Cleanup any resources held by this client. After a shutdown the client is no more usable.

Specified by:
shutdown in interface AutomationClient
Overrides:
shutdown in class AbstractAutomationClient

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.