⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exampleservice.java

📁 jmx在spring中的实现
💻 JAVA
字号:
/*
======================================================================

  ExampleService.java

  Created by Claude Duguay
  Copyright (c) 2005

======================================================================
*/

package com.claudeduguay.jmx.demo.server;

public class ExampleService
{
	protected String propertyValue = "default value";
	
	public ExampleService() {}
	
	public String getPropertyValue()
	{
		System.out.println("ExampleService: Get Property Value");
		return propertyValue;
	}

	public void setPropertyValue(String propertyValue)
	{
		System.out.println("ExampleService: Set Property Value");
		this.propertyValue = propertyValue;
	}

	public void startService()
	{
		System.out.println("ExampleService: Start Service Called");
	}

	public void stopService()
	{
		System.out.println("ExampleService: Stop Service Called");
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -