class SofaModuleContextLifecycle implements SmartLifecycle {

    private static final Logger   LOGGER        = SofaBootLoggerFactory
                                                    .getLogger(SofaModuleContextLifecycle.class);

    private final AtomicBoolean   isleRefreshed = new AtomicBoolean(false);

    private final PipelineContext pipelineContext;

    public SofaModuleContextLifecycle(PipelineContext pipelineContext) {
        this.pipelineContext = pipelineContext;
    }

    @Override
    public void start() {<FILL_FUNCTION_BODY>}

    @Override
    public void stop() {
    }

    @Override
    public boolean isRunning() {
        return isleRefreshed.get();
    }

    @Override
    public int getPhase() {
        return -100;
    }
}

        if (isleRefreshed.compareAndSet(false, true)) {
            try {
                pipelineContext.process();
            } catch (Throwable t) {
                LOGGER.error(ErrorCode.convert("01-10000"), t);
                throw new RuntimeException(ErrorCode.convert("01-10000"), t);
            }
        }
    
<no_super_class>