NioClient.java 512 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
package com.lyms.hospitalapi;

import com.lyms.platform.common.utils.PropertiesUtils;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import java.io.IOException;

/**
* Created by riecard on 2016/11/24.
*/
@Service
public class NioClient {

public static final String NIO_CLIENT_START = PropertiesUtils.getPropertyValue("nio_client_start");

@PostConstruct
public void init() throws IOException {
if ("1".equals(NIO_CLIENT_START)) {
}
}
}