tclisten.autoconfigure.TcProps Maven / Gradle / Ivy
/*
*
* Copyright (c) 2016 CWIE, LLC
*
* This source is subject to the [] License. Please see License.txt file
* for more information. All other rights reserved.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
* John Anderson
* [email protected]
* Aug 1, 2016
*
*/
package tclisten.autoconfigure;
import java.util.ArrayList;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.Ordered;
/**
* @author John Anderson
*
* Top level of 'tcconn' config hierarchy. This class is mainly used as a container for
* connectors.
*/
@ConfigurationProperties(prefix="tc", ignoreUnknownFields=false, ignoreInvalidFields=false)
public class TcProps implements Ordered {
protected List aprAjpConnectors = new ArrayList();
protected List aprHttpConnectors = new ArrayList();
protected List bioAjpConnectors = new ArrayList();
protected List bioHttpConnectors = new ArrayList();
protected List nioAjpConnectors = new ArrayList();
protected List nioHttpConnectors = new ArrayList();
protected List nio2AjpConnectors = new ArrayList();
protected List nio2HttpConnectors = new ArrayList();
/**
* Generic no-args constructor.
*/
public TcProps() {}
/**
* @return the aprAjpConnectors
*/
public List getAprAjpConnectors() {
return aprAjpConnectors;
}
/**
* @param aprAjpConnectors the aprAjpConnectors to set
*/
public void setAprAjpConnectors(List aprAjpConnectors) {
this.aprAjpConnectors = aprAjpConnectors;
}
/**
* @return the aprHttpConnectors
*/
public List getAprHttpConnectors() {
return aprHttpConnectors;
}
/**
* @param aprHttpConnectors the aprHttpConnectors to set
*/
public void setAprHttpConnectors(List aprHttpConnectors) {
this.aprHttpConnectors = aprHttpConnectors;
}
/**
* @return the bioAjpConnectors
*/
public List getBioAjpConnectors() {
return bioAjpConnectors;
}
/**
* @param bioAjpConnectors the bioAjpConnectors to set
*/
public void setBioAjpConnectors(List bioAjpConnectors) {
this.bioAjpConnectors = bioAjpConnectors;
}
/**
* @return the bioHttpConnectors
*/
public List getBioHttpConnectors() {
return bioHttpConnectors;
}
/**
* @param bioHttpConnectors the bioHttpConnectors to set
*/
public void setBioHttpConnectors(List bioHttpConnectors) {
this.bioHttpConnectors = bioHttpConnectors;
}
/**
* @return the nioAjpConnectors
*/
public List getNioAjpConnectors() {
return nioAjpConnectors;
}
/**
* @param nioAjpConnectors the nioAjpConnectors to set
*/
public void setNioAjpConnectors(List nioAjpConnectors) {
this.nioAjpConnectors = nioAjpConnectors;
}
/**
* @return the nioHttpConnectors
*/
public List getNioHttpConnectors() {
return nioHttpConnectors;
}
/**
* @param nioHttpConnectors the nioHttpConnectors to set
*/
public void setNioHttpConnectors(List nioHttpConnectors) {
this.nioHttpConnectors = nioHttpConnectors;
}
/**
* @return the nio2AjpConnectors
*/
public List getNio2AjpConnectors() {
return nio2AjpConnectors;
}
/**
* @param nio2AjpConnectors the nio2AjpConnectors to set
*/
public void setNio2AjpConnectors(List nio2AjpConnectors) {
this.nio2AjpConnectors = nio2AjpConnectors;
}
/**
* @return the nio2HttpConnectors
*/
public List getNio2HttpConnectors() {
return nio2HttpConnectors;
}
/**
* @param nio2HttpConnectors the nio2HttpConnectors to set
*/
public void setNio2HttpConnectors(
List nio2HttpConnectors) {
this.nio2HttpConnectors = nio2HttpConnectors;
}
/* (non-Javadoc)
* @see org.springframework.core.Ordered#getOrder()
*/
@Override
public int getOrder() {
return 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy