public static List<ParamValueMetaData> getContextParams(final JBossWebMetaData jbossWebMD) {
        List<ParamValueMetaData> contextParamsMD = jbossWebMD.getContextParams();

        if (contextParamsMD == null) {
            contextParamsMD = new LinkedList<ParamValueMetaData>();
            jbossWebMD.setContextParams(contextParamsMD);
        }

        return contextParamsMD;
    }
public static List < ParamValueMetaData > getContextParams ( final JBossWebMetaData jbossWebMD ) { List < ParamValueMetaData > contextParamsMD = jbossWebMD . getContextParams ( ) ; if ( contextParamsMD == null ) { contextParamsMD = new LinkedList < ParamValueMetaData > ( ) ; jbossWebMD . setContextParams ( contextParamsMD ) ; } return contextParamsMD ; }
Gets context parameters meta data from jboss web meta data. If not found it creates new context parameters meta data and
associates them with jboss web meta data.

@param jbossWebMD jboss web meta data
@return context parameters meta data