Class ConnectorServerImpl
java.lang.Object
org.identityconnectors.framework.server.ConnectorServer
org.identityconnectors.framework.server.impl.ConnectorServerImpl
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.identityconnectors.framework.server.ConnectorServer
getBundleParentClassLoader, getBundleURLs, getIfAddress, getKeyHash, getKeyManagers, getMaxConnections, getMaxWorkers, getMinWorkers, getPort, getUseSSL, newInstance, setBundleParentClassLoader, setBundleURLs, setIfAddress, setKeyHash, setKeyManagers, setMaxConnections, setMaxWorkers, setMinWorkers, setPort, setUseSSL
-
Constructor Details
-
ConnectorServerImpl
public ConnectorServerImpl()
-
-
Method Details
-
getStartTime
Description copied from class:ConnectorServerGets the time when the servers was started last time.System.currentTimeMillis()- Specified by:
getStartTimein classConnectorServer- Returns:
- last start dateTime in milliseconds
-
isStarted
public boolean isStarted()Description copied from class:ConnectorServerReturn true if the server is started. Note that started is a logical state (start method has been called). It does not necessarily reflect the health of the server- Specified by:
isStartedin classConnectorServer- Returns:
- true if the server is started.
-
start
public void start()Description copied from class:ConnectorServerStarts the server. All server settings must be configured prior to calling. The following methods are required to be called:- Specified by:
startin classConnectorServer
-
stop
public void stop()Description copied from class:ConnectorServerStops the server gracefully. Returns when all in-progress connections have been serviced.- Specified by:
stopin classConnectorServer
-
awaitStop
Description copied from class:ConnectorServerWaits for the server to stop. Similarly to theConnectorServer.isStarted()method, this method depends on the server's logical state. The trigger that wakes up waiting threads is a call to theConnectorServer.stop()method, not the health of the server.- Specified by:
awaitStopin classConnectorServer- Throws:
InterruptedException- if the waiting thread is interrupted.
-