@Override @ManagedAttribute(description="The delete empty named order after adding items to cart attribute", currencyTimeLimit=15) public void setDeleteEmptyNamedOrders(boolean deleteEmptyNamedOrders) { this.deleteEmptyNamedOrders = deleteEmptyNamedOrders; }
@Override @Nullable public org.springframework.jmx.export.metadata.ManagedAttribute getManagedAttribute(Method method) throws InvalidMetadataException { ManagedAttribute ann = AnnotationUtils.findAnnotation(method, ManagedAttribute.class); if (ann == null) { return null; } org.springframework.jmx.export.metadata.ManagedAttribute managedAttribute = new org.springframework.jmx.export.metadata.ManagedAttribute(); AnnotationBeanUtils.copyPropertiesToBean(ann, managedAttribute, "defaultValue"); if (ann.defaultValue().length() > 0) { managedAttribute.setDefaultValue(ann.defaultValue()); } return managedAttribute; }
@Override @ManagedAttribute(description="The move item from named order when adding to the cart attribute", currencyTimeLimit=15) public void setMoveNamedOrderItems(boolean moveNamedOrderItems) { this.moveNamedOrderItems = moveNamedOrderItems; }
@Override @Nullable public org.springframework.jmx.export.metadata.ManagedAttribute getManagedAttribute(Method method) throws InvalidMetadataException { ManagedAttribute ann = AnnotationUtils.findAnnotation(method, ManagedAttribute.class); if (ann == null) { return null; } org.springframework.jmx.export.metadata.ManagedAttribute managedAttribute = new org.springframework.jmx.export.metadata.ManagedAttribute(); AnnotationBeanUtils.copyPropertiesToBean(ann, managedAttribute, "defaultValue"); if (ann.defaultValue().length() > 0) { managedAttribute.setDefaultValue(ann.defaultValue()); } return managedAttribute; }
@Override @ManagedAttribute(description="The delete empty named order after adding items to cart attribute", currencyTimeLimit=15) public boolean isDeleteEmptyNamedOrders() { return deleteEmptyNamedOrders; }
@Override @ManagedAttribute(description="The move item from named order when adding to the cart attribute", currencyTimeLimit=15) public boolean isMoveNamedOrderItems() { return moveNamedOrderItems; }
/** * Debugging feature. If enabled, and debug logging is enabled */ @ManagedAttribute(description = "Enable dumping of incoming requests to the debug log") public void setDumpRequests(boolean dumpRequests) { this.dumpRequests = dumpRequests; }
@Override @ManagedAttribute(description = "The Age Attribute", currencyTimeLimit = 15) public int getAge() { return age; }
@Override @ManagedAttribute(description = "The Name Attribute", currencyTimeLimit = 20, defaultValue = "bar", persistPolicy = "OnUpdate") public void setName(String name) { this.name = name; }
@Override @ManagedAttribute(defaultValue = "foo", persistPeriod = 300) public String getName() { return name; }
@ManagedAttribute public void setName(String name) { this.name = name; } }
@ManagedAttribute(description = "The Nick Name Attribute") public void setNickName(String nickName) { this.nickName = nickName; }
@ManagedAttribute(description = "The Is Superman Attribute") public boolean isSuperman() { return isSuperman; }
@ManagedAttribute public String getName() { return this.name; }
@ManagedAttribute String getColour();
@ManagedAttribute(description = "Bar description") String getBar();
@ManagedAttribute void setColour(String colour);
@ManagedAttribute public int getSeconds() { return this.seconds.get(); }
/** * Returns the size of this MessageGroup. * * @param groupId The group identifier. * @return The size. */ @ManagedAttribute int messageGroupSize(Object groupId);
/** * Reads a value for the given key from this MetadataStore. * * @param key The key. * @return The value. */ @ManagedAttribute String get(String key);