001package com.ericlam.mc.eld; 002 003import com.ericlam.mc.eld.bungee.ComponentsRegistry; 004import com.ericlam.mc.eld.bungee.ELDLifeCycle; 005 006import java.lang.annotation.ElementType; 007import java.lang.annotation.Retention; 008import java.lang.annotation.RetentionPolicy; 009import java.lang.annotation.Target; 010 011/** 012 * 標註為 ELD Bungee 插件 013 */ 014@Target(ElementType.TYPE) 015@Retention(RetentionPolicy.RUNTIME) 016public @interface ELDBungee { 017 018 /** 019 * 020 * @return 生命週期類定位 021 */ 022 Class<? extends ELDLifeCycle> lifeCycle(); 023 024 025 /** 026 * 027 * @return 組件註冊類定位 028 */ 029 Class<? extends ComponentsRegistry> registry(); 030 031}