public void addProjectMethod(final ProjectMethod method) {
        readWriteLock.writeLock().lock();
        try {
            availableMethods.add(method);
        } finally {
            readWriteLock.writeLock().unlock();
        }
    }
public void addProjectMethod ( final ProjectMethod method ) { readWriteLock . writeLock ( ) . lock ( ) ; try { availableMethods . add ( method ) ; } finally { readWriteLock . writeLock ( ) . unlock ( ) ; } }
Adds a project method to the pool.

@param method The method to add