com.alogic.idnote.naming.Inner Maven / Gradle / Ivy
package com.alogic.idnote.naming;
import com.alogic.idnote.IdNoteGroup;
import com.alogic.idnote.loader.XmlResourceLoader;
import com.alogic.naming.context.XmlInner;
import com.anysoft.util.Properties;
import com.anysoft.util.PropertiesConstants;
/**
* XML内部的context
*
* @author yyduan
*
* @since 1.6.12.13 [20181213 duanyy]
*/
public class Inner extends XmlInner{
protected String dftClass = XmlResourceLoader.class.getName();
@Override
public String getObjectName() {
return "group";
}
@Override
public String getDefaultClass() {
return dftClass;
}
@Override
public void configure(Properties p) {
dftClass = PropertiesConstants.getString(p,"dftClass",dftClass);
}
}