Renamed as jmx annotation
This commit is contained in:
parent
e04bf81085
commit
bd19bc414d
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue