springboot-client/src/main/java/com/minsait/onesait/platform/client/springboot/proxy/InvocationHandler.java
private void init() {
		if (client == null) {
			client = context.getBean(ClientIoTBroker.class);
		}
		if (query == null) {
			query = (Operation) context.getBean("IoTBrokerQuery");
		}
		if (insert == null) {
			insert = (Operation) context.getBean("IoTBrokerInsert");
		}
		if (delete == null) {
			delete = (Operation) context.getBean("IoTBrokerDelete");
		}
		if (update == null) {
			update = (Operation) context.getBean("IoTBrokerUpdate");
		}
	}
/**
	 * Inicializador de la clase, recupera los objetos del contexto de Spring
	 */
Inicializador de la clase, recupera los objetos del contexto de Spring
Inicializador de la clase recupera los objetos del contexto de Spring
private void init() {
		if (client == null) {
			client = context.getBean(ClientIoTBroker.class);
		}
		if (query == null) {
			query = (Operation) context.getBean("IoTBrokerQuery");
		}
		if (insert == null) {
			insert = (Operation) context.getBean("IoTBrokerInsert");
		}
		if (delete == null) {
			delete = (Operation) context.getBean("IoTBrokerDelete");
		}
		if (update == null) {
			update = (Operation) context.getBean("IoTBrokerUpdate");
		}
	}
private void init ( ) { if ( client == null ) { client = context . getBean ( ClientIoTBroker . class ) ; } if ( query == null ) { query = ( Operation ) context . getBean ( "IoTBrokerQuery" ) ; } if ( insert == null ) { insert = ( Operation ) context . getBean ( "IoTBrokerInsert" ) ; } if ( delete == null ) { delete = ( Operation ) context . getBean ( "IoTBrokerDelete" ) ; } if ( update == null ) { update = ( Operation ) context . getBean ( "IoTBrokerUpdate" ) ; } }
Inicializador de la clase, recupera los objetos del contexto de Spring
Inicializador de la clase recupera los objetos del contexto de Spring