You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					86 lines
				
				1.9 KiB
			
		
		
			
		
	
	
					86 lines
				
				1.9 KiB
			| 
								 
											3 years ago
										 
									 | 
							
								//package com.ynxbd.common.bean.remove;
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//public class ConnBean {
							 | 
						||
| 
								 | 
							
								//    private String JdbcUrl = "";
							 | 
						||
| 
								 | 
							
								//    private String User = "";
							 | 
						||
| 
								 | 
							
								//    private String Password = "";
							 | 
						||
| 
								 | 
							
								//    private String DriverClass = "org.gjt.mm.mysql.Driver";
							 | 
						||
| 
								 | 
							
								//    private int InitialPoolSize = 5;
							 | 
						||
| 
								 | 
							
								//    private int MinPoolSize = 1;
							 | 
						||
| 
								 | 
							
								//    private int MaxPoolSize = 10;
							 | 
						||
| 
								 | 
							
								//    private int MaxStatements = 80;
							 | 
						||
| 
								 | 
							
								//    private int MaxIdleTime = 90;
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public String getJdbcUrl() {
							 | 
						||
| 
								 | 
							
								//        return JdbcUrl;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setJdbcUrl(String jdbcUrl) {
							 | 
						||
| 
								 | 
							
								//        JdbcUrl = jdbcUrl;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public String getUser() {
							 | 
						||
| 
								 | 
							
								//        return User;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setUser(String user) {
							 | 
						||
| 
								 | 
							
								//        User = user;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public String getPassword() {
							 | 
						||
| 
								 | 
							
								//        return Password;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setPassword(String password) {
							 | 
						||
| 
								 | 
							
								//        Password = password;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public String getDriverClass() {
							 | 
						||
| 
								 | 
							
								//        return DriverClass;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setDriverClass(String driverClass) {
							 | 
						||
| 
								 | 
							
								//        DriverClass = driverClass;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public int getInitialPoolSize() {
							 | 
						||
| 
								 | 
							
								//        return InitialPoolSize;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setInitialPoolSize(int initialPoolSize) {
							 | 
						||
| 
								 | 
							
								//        InitialPoolSize = initialPoolSize;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public int getMinPoolSize() {
							 | 
						||
| 
								 | 
							
								//        return MinPoolSize;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setMinPoolSize(int minPoolSize) {
							 | 
						||
| 
								 | 
							
								//        MinPoolSize = minPoolSize;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public int getMaxPoolSize() {
							 | 
						||
| 
								 | 
							
								//        return MaxPoolSize;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setMaxPoolSize(int maxPoolSize) {
							 | 
						||
| 
								 | 
							
								//        MaxPoolSize = maxPoolSize;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public int getMaxStatements() {
							 | 
						||
| 
								 | 
							
								//        return MaxStatements;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setMaxStatements(int maxStatements) {
							 | 
						||
| 
								 | 
							
								//        MaxStatements = maxStatements;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public int getMaxIdleTime() {
							 | 
						||
| 
								 | 
							
								//        return MaxIdleTime;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//    public void setMaxIdleTime(int maxIdleTime) {
							 | 
						||
| 
								 | 
							
								//        MaxIdleTime = maxIdleTime;
							 | 
						||
| 
								 | 
							
								//    }
							 | 
						||
| 
								 | 
							
								//}
							 |