wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java
public boolean addChild(final Object accessObject, final AbstractHtml child,
            final boolean invokeListener) {
        if (accessObject == null || !(SecurityClassConstants.BROWSER_PAGE
                .equals(accessObject.getClass().getName()))) {
            throw new WffSecurityException(
                    "Not allowed to consume this method. This method is for internal use.");
        }

        final Lock lock = sharedObject.getLock(ACCESS_OBJECT).writeLock();
        boolean result = false;
        try {

            lock.lock();

            result = addChild(child, invokeListener);
        } finally {
            lock.unlock();
        }
        if (invokeListener) {
            final PushQueue pushQueue = sharedObject
                    .getPushQueue(ACCESS_OBJECT);
            if (pushQueue != null) {
                pushQueue.push();
            }
        }
        return result;
    }
public boolean addChild(final Object accessObject, final AbstractHtml child,
            final boolean invokeListener) {
        if (accessObject == null || !(SecurityClassConstants.BROWSER_PAGE
                .equals(accessObject.getClass().getName()))) {
            throw new WffSecurityException(
                    "Not allowed to consume this method. This method is for internal use.");
        }

        final Lock lock = sharedObject.getLock(ACCESS_OBJECT).writeLock();
        boolean result = false;
        try {

            lock.lock();

            result = addChild(child, invokeListener);
        } finally {
            lock.unlock();
        }
        if (invokeListener) {
            final PushQueue pushQueue = sharedObject
                    .getPushQueue(ACCESS_OBJECT);
            if (pushQueue != null) {
                pushQueue.push();
            }
        }
        return result;
    }
NB: This method is for internal use

@param accessObject
@param child
@param invokeListener
@return
@since 2.0.0
@author WFF