All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.logicbus.backend.message.tools.IdNoteTool Maven / Gradle / Ivy

There is a newer version: 1.6.17
Show newest version
package com.logicbus.backend.message.tools;

import com.alogic.idnote.IdNote;
import com.alogic.idnote.IdNoteFactory;
import com.alogic.idnote.IdNoteGroup;
import com.anysoft.util.Properties;
import com.anysoft.util.PropertiesConstants;
import com.anysoft.util.Settings;

/**
 * IdNote工具
 */
public class IdNoteTool {
    private IdNoteGroup idnote = null;
    public IdNoteTool(Properties props){
        idnote = IdNoteFactory.get(PropertiesConstants.getString(Settings.get(), "servant.code.group", "servant.code"));
    }

    public IdNote getIdNote(String id){
        return idnote == null?null:idnote.getNote(id);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy