package eo.ejb.example;

import java.lang.reflect.Method;

public class PatternTwoConst {
    private static final String MTD_NAME = "getCmpMongonList";

    public void invokeByConstant(Class<?> cls) throws Exception {
        Method m = cls.getDeclaredMethod(MTD_NAME);
        m.setAccessible(true);
        m.invoke(null);
    }
}