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ʸᴰ;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnMBeanAttributeTypeᴶᴹˣ(Boolean.class)
|
||||
@MBeanAttributeTypeᴶᴹˣ(Boolean.class)
|
||||
public class BooleanAttributeᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ {
|
||||
private Boolean value;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package love.distributedrebirth.bassboonyd.jmx;
|
|||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnMBeanAttributeTypeᴶᴹˣ(Long.class)
|
||||
@MBeanAttributeTypeᴶᴹˣ(Long.class)
|
||||
public class GuageCounterᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ {
|
||||
private volatile long counter;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
|||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface BãßBȍőnMBeanAttributeTypeᴶᴹˣ {
|
||||
public @interface MBeanAttributeTypeᴶᴹˣ {
|
||||
|
||||
Class<?> value();
|
||||
}
|
|
@ -6,7 +6,7 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
|||
public interface MBeanAttributeᴶᴹˣ {
|
||||
|
||||
default Class<?> BãßValueType() {
|
||||
return getClass().getAnnotation(BãßBȍőnMBeanAttributeTypeᴶᴹˣ.class).value();
|
||||
return getClass().getAnnotation(MBeanAttributeTypeᴶᴹˣ.class).value();
|
||||
}
|
||||
|
||||
Object getValue();
|
||||
|
|
|
@ -3,7 +3,7 @@ package love.distributedrebirth.bassboonyd.jmx;
|
|||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnMBeanAttributeTypeᴶᴹˣ(String.class)
|
||||
@MBeanAttributeTypeᴶᴹˣ(String.class)
|
||||
public class StringAttributeᴶᴹˣ extends AbstractMBeanAttributeᴶᴹˣ {
|
||||
private String value;
|
||||
|
||||
|
|
Loading…
Reference in a new issue