public void close(Object ... objects) {
		for (Object o : objects) {
			String name = o.getClass().getName();
			
			if (name.equals(Connection.class.getName())) {
				closeConection((Connection)o);
			} else if (name.equals(Statement.class.getName()) ||
					name.equals(PreparedStatement.class.getName())) {
				closeStatement((Statement)o);
			} else if (name.equals(ResultSet.class.getName())) {
				closeResultSet((ResultSet)o);
			}
		}
	}