dbinfombean.java
来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 28 行
JAVA
28 行
/*------------------------------------------------------------------------------Name: DbInfoMBean.javaProject: org.xmlBlasterProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.contrib.db;/** * DbInfo This is the I_Info implementation making use of Properties. * Creates a simple implementation based on our ClientProperty maps. * This implementation uses the reference to the properties passed. If you want a snapshot of these properties, you * need to take a clone and pass the clone to the constructor. * Therefore this class can be seen as a decorator to the map passed * into the constructor. If you change a value with this class it will * update the clientPropertyMap. If entries in the map are found which * are not of the type ClientProperty, they are ignored. * * This class is thread safe. * * @author <a href="mailto:michele@laghi.eu">Michele Laghi</a> */public interface DbInfoMBean { String get(String key, String def); void put(String key, String value); String getKeysAsString(); String getObjectKeysAsString();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?