private JMFPart getDynamic(int accessor) throws JMFSchemaViolationException, JMFModelNotImplementedException, JMFMessageCorruptionException, JMFUninitializedAccessException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            JmfTr.entry(this, tc, "getDynamic", new Object[] { Integer.valueOf(accessor) });

        JMFPart part;

        synchronized (getMessageLockArtefact()) {
            checkDynamic(accessor);
            part = (JMFPart) getInternal(accessor);
        }

        if (part == null) {
            JMFUninitializedAccessException e = new JMFUninitializedAccessException("Dynamic value at accessor " + accessor + " is missing");
            if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                JmfTr.exit(this, tc, "getDynamic", e);
            throw e;
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            JmfTr.exit(this, tc, "getDynamic", part);
        return part;
    }
private JMFPart getDynamic ( int accessor ) throws JMFSchemaViolationException , JMFModelNotImplementedException , JMFMessageCorruptionException , JMFUninitializedAccessException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) JmfTr . entry ( this , tc , "getDynamic" , new Object [ ] { Integer . valueOf ( accessor ) } ) ; JMFPart part ; synchronized ( getMessageLockArtefact ( ) ) { checkDynamic ( accessor ) ; part = ( JMFPart ) getInternal ( accessor ) ; } if ( part == null ) { JMFUninitializedAccessException e = new JMFUninitializedAccessException ( "Dynamic value at accessor " + accessor + " is missing" ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) JmfTr . exit ( this , tc , "getDynamic" , e ) ; throw e ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) JmfTr . exit ( this , tc , "getDynamic" , part ) ; return part ; }
Locking: Private method, must take the lock as its callers may not have it.