transient-devicemanager.config

来自「一个开源的rfid middleware 资料」· CONFIG 代码 · 共 22 行

CONFIG
22
字号
import net.jini.jrmp.JrmpExporter;
import net.jini.lookup.entry.Name;
import net.jini.lookup.entry.ServiceInfo;

org.firstopen.singularity.devicemgr.DeviceManagerJiniImpl {

	persistentDirectory="./deploy/log/start-transient-DeviceManager.log";

	//NOTE: initialLookupAttributes are only used the first time you run
	//a deployed service. To clear the current persistent set of values
	//delete the your project's log file -- deploy/log/start-transient-DeviceManager.log
	initialLookupAttributes=new net.jini.core.entry.Entry[]{
		new Name("DeviceManager"),
		new Timestamp()
	};

	initialLookupGroups=new java.lang.String []{
		new java.lang.String("org.firstopen.singularity.devicemgr.DeviceManagerJiniImpl")
	};

	serverExporter = new JrmpExporter();
}

⌨️ 快捷键说明

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