Renamed as jmx annotation

This commit is contained in:
Willem 2022-02-06 23:48:35 +01:00
parent e04bf81085
commit bd19bc414d
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.bassboonyd.jmx;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnMBeanAttributeTypeᴶᴹˣ(Boolean.class) @MBeanAttributeTypeᴶᴹˣ(Boolean.class)
public class BooleanAttributeᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ { public class BooleanAttributeᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ {
private Boolean value; private Boolean value;

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.bassboonyd.jmx;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnMBeanAttributeTypeᴶᴹˣ(Long.class) @MBeanAttributeTypeᴶᴹˣ(Long.class)
public class GuageCounterᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ { public class GuageCounterᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ {
private volatile long counter; private volatile long counter;

View file

@ -10,7 +10,7 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE}) @Target({ElementType.TYPE})
public @interface BãßBȍőnMBeanAttributeTypeᴶᴹˣ { public @interface MBeanAttributeTypeᴶᴹˣ {
Class<?> value(); Class<?> value();
} }

View file

@ -6,7 +6,7 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
public interface MBeanAttributeᴶᴹˣ { public interface MBeanAttributeᴶᴹˣ {
default Class<?> BãßValueType() { default Class<?> BãßValueType() {
return getClass().getAnnotation(BãßBȍőnMBeanAttributeTypeᴶᴹˣ.class).value(); return getClass().getAnnotation(MBeanAttributeTypeᴶᴹˣ.class).value();
} }
Object getValue(); Object getValue();

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.bassboonyd.jmx;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnMBeanAttributeTypeᴶᴹˣ(String.class) @MBeanAttributeTypeᴶᴹˣ(String.class)
public class StringAttributeᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ { public class StringAttributeᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ {
private String value; private String value;