private void setup ( BeanMetaData bmd ) { if ( ! ivSetup ) { int slotSize = bmd . container . getEJBRuntime ( ) . getMetaDataSlotSize ( MethodMetaData . class ) ; for ( int i = 0 ; i < capacity ; ++ i ) { EJBMethodInfoImpl methodInfo = bmd . createEJBMethodInfoImpl ( slotSize ) ; methodInfo . initializeInstanceData ( null , null , null , null , null , false ) ; elements [ i ] = methodInfo ; } ivSetup = true ; } }
Construct capacity sized stack