internal virtual void closeHandle(JcaExecutorServiceConnection handle) { ConnectionEvent @event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED); @event.ConnectionHandle = handle; foreach (ConnectionEventListener cel in listeners) { cel.connectionClosed(@event); } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @PostConstruct protected void openConnection() protected internal virtual void openConnection() { try { executorConnection = executorConnectionFactory.Connection; } catch (ResourceException e) { throw new ProcessEngineException("Could not open connection to executor service connection factory ", e); } }