class PowerJobWorkerOfSolon extends PowerJobWorker {

    private static final Logger logger = LoggerFactory.getLogger(PowerJobWorkerOfSolon.class);

    final ProcessorFactoryOfSolon processorFactory;

    public PowerJobWorkerOfSolon(AppContext context, PowerJobWorkerConfig config) {
        super(config);

        processorFactory = new ProcessorFactoryOfSolon(context);

        try {
            init();
        } catch (Exception e) {
            logger.error("Powerjob worker start failed.", e);
        }
    }

    @Override
    public void init() throws Exception {
        addProcessorFactory(processorFactory);
        super.init();
    }

    public void addProcessorFactory(ProcessorFactory processorFactory) {<FILL_FUNCTION_BODY>}
}

        PowerJobWorkerConfig workerConfig = workerRuntime.getWorkerConfig();
        ArrayList<ProcessorFactory> processorFactories =
                Lists.newArrayList(
                        Optional.ofNullable(workerConfig.getProcessorFactoryList())
                                .orElse(Collections.emptyList()));
        processorFactories.add(processorFactory);
        workerConfig.setProcessorFactoryList(processorFactories);
    
<methods>public void <init>(tech.powerjob.worker.common.PowerJobWorkerConfig) ,public void destroy() throws java.lang.Exception,public void init() throws java.lang.Exception<variables>private final java.util.concurrent.atomic.AtomicBoolean initialized,private static final org.slf4j.Logger log,private final tech.powerjob.remote.framework.engine.RemoteEngine remoteEngine,protected final tech.powerjob.worker.common.WorkerRuntime workerRuntime