示例#1
0
        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);
            }
        }
示例#2
0
//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);
            }
        }