Package org.apache.directory.studio.connection.core.jobs

Examples of org.apache.directory.studio.connection.core.jobs.CloseConnectionsJob


            connection.setConnectionParameter( connectionParameter );

            if ( reconnectionRequired )
            {
                // close connection
                new CloseConnectionsJob( connection ).execute();
            }
        }

        return true;
    }
View Full Code Here


     * @param connectionsToDelete
     *      the Connections to delete
     */
    private void deleteConnections( List<Connection> connectionsToDelete )
    {
        new CloseConnectionsJob( connectionsToDelete.toArray( new Connection[connectionsToDelete.size()] ) ).execute();
        for ( Connection connection : connectionsToDelete )
        {
            ConnectionCorePlugin.getDefault().getConnectionManager().removeConnection( connection);
        }
    }
View Full Code Here

            connection.setConnectionParameter( connectionParameter );

            if ( reconnectionRequired )
            {
                // close connection
                new CloseConnectionsJob( connection ).execute();
            }
        }

        return true;
    }
View Full Code Here

    /**
     * @see org.apache.directory.studio.connection.ui.actions.StudioAction#run()
     */
    public void run()
    {
        CloseConnectionsJob ccj = new CloseConnectionsJob( getSelectedConnections() );
        ccj.execute();
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.connection.core.jobs.CloseConnectionsJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.