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

com.alogic.pool.context.Outter Maven / Gradle / Ivy

There is a newer version: 1.6.17
Show newest version
package com.alogic.pool.context;

import com.alogic.naming.context.XmlOutter;
import com.alogic.pool.Pool;
import com.alogic.pool.impl.Default;
import com.anysoft.util.Properties;
import com.anysoft.util.PropertiesConstants;

/**
 * XmlOutter 
 * 
 * @author duanyy
 * @since 1.6.6.8
 * 
 */
public class Outter extends XmlOutter {
	protected String dftClass = Default.class.getName();
	
	@Override
	public void configure(Properties p) {
		dftClass = PropertiesConstants.getString(p,"dftClass",dftClass);
	}

	@Override
	public String getObjectName() {
		return "pool";
	}

	@Override
	public String getDefaultClass() {
		return dftClass;
	}

	@Override
	public String getDefaultXrc() {
		return "java:///com/alogic/pool/naming.pool.context.xml#" + Outter.class.getName();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy