Search in sources :

Example 1 with IJVMConnector

use of org.eclipse.net4j.jvm.IJVMConnector in project snow-owl by b2ihealthcare.

the class RepositoryPlugin method connectSystemUser.

private void connectSystemUser(IManagedContainer container) throws SnowowlServiceException {
    final IJVMConnector connector = JVMUtil.getConnector(container, TransportClient.NET_4_J_CONNECTOR_NAME);
    JVMUtil.getAcceptor(container, TransportClient.NET_4_J_CONNECTOR_NAME);
    final RpcProtocol clientProtocol = RpcUtil.getRpcClientProtocol(container);
    clientProtocol.open(connector);
}
Also used : RpcProtocol(com.b2international.snowowl.rpc.RpcProtocol) IJVMConnector(org.eclipse.net4j.jvm.IJVMConnector)

Aggregations

RpcProtocol (com.b2international.snowowl.rpc.RpcProtocol)1 IJVMConnector (org.eclipse.net4j.jvm.IJVMConnector)1