Class ConnectorServerImpl
java.lang.Object
org.identityconnectors.framework.server.ConnectorServer
org.identityconnectors.framework.server.impl.ConnectorServerImpl
-
Constructor Summary
-
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:ConnectorServer
Gets the time when the servers was started last time.System.currentTimeMillis()
- Specified by:
getStartTime
in classConnectorServer
- Returns:
- last start dateTime in milliseconds
-
isStarted
public boolean isStarted()Description copied from class:ConnectorServer
Return 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:
isStarted
in classConnectorServer
- Returns:
- true if the server is started.
-
start
public void start()Description copied from class:ConnectorServer
Starts the server. All server settings must be configured prior to calling. The following methods are required to be called:- Specified by:
start
in classConnectorServer
-
stop
public void stop()Description copied from class:ConnectorServer
Stops the server gracefully. Returns when all in-progress connections have been serviced.- Specified by:
stop
in classConnectorServer
-
awaitStop
Description copied from class:ConnectorServer
Waits 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:
awaitStop
in classConnectorServer
- Throws:
InterruptedException
- if the waiting thread is interrupted.
-