proto
This commit is contained in:
@@ -24,7 +24,7 @@ module org.redkale {
|
|||||||
exports org.redkale.convert.bson;
|
exports org.redkale.convert.bson;
|
||||||
exports org.redkale.convert.ext;
|
exports org.redkale.convert.ext;
|
||||||
exports org.redkale.convert.json;
|
exports org.redkale.convert.json;
|
||||||
exports org.redkale.convert.protobuf;
|
exports org.redkale.convert.proto;
|
||||||
exports org.redkale.inject;
|
exports org.redkale.inject;
|
||||||
exports org.redkale.lock;
|
exports org.redkale.lock;
|
||||||
exports org.redkale.mq;
|
exports org.redkale.mq;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import org.redkale.cluster.*;
|
|||||||
import org.redkale.convert.Convert;
|
import org.redkale.convert.Convert;
|
||||||
import org.redkale.convert.bson.BsonFactory;
|
import org.redkale.convert.bson.BsonFactory;
|
||||||
import org.redkale.convert.json.*;
|
import org.redkale.convert.json.*;
|
||||||
import org.redkale.convert.protobuf.ProtobufFactory;
|
import org.redkale.convert.proto.ProtobufFactory;
|
||||||
import org.redkale.inject.ResourceEvent;
|
import org.redkale.inject.ResourceEvent;
|
||||||
import org.redkale.inject.ResourceFactory;
|
import org.redkale.inject.ResourceFactory;
|
||||||
import org.redkale.inject.ResourceTypeLoader;
|
import org.redkale.inject.ResourceTypeLoader;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import org.redkale.annotation.ConstructorParameters;
|
|||||||
import org.redkale.convert.bson.BsonConvert;
|
import org.redkale.convert.bson.BsonConvert;
|
||||||
import org.redkale.convert.ext.*;
|
import org.redkale.convert.ext.*;
|
||||||
import org.redkale.convert.json.JsonConvert;
|
import org.redkale.convert.json.JsonConvert;
|
||||||
import org.redkale.convert.protobuf.ProtobufConvert;
|
import org.redkale.convert.proto.ProtobufConvert;
|
||||||
import org.redkale.util.*;
|
import org.redkale.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.concurrent.atomic.*;
|
import java.util.concurrent.atomic.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.concurrent.atomic.*;
|
import java.util.concurrent.atomic.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.concurrent.atomic.*;
|
import java.util.concurrent.atomic.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.concurrent.atomic.*;
|
import java.util.concurrent.atomic.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.concurrent.atomic.*;
|
import java.util.concurrent.atomic.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.concurrent.atomic.*;
|
import java.util.concurrent.atomic.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import org.redkale.convert.ConvertException;
|
import org.redkale.convert.ConvertException;
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.convert.protobuf;
|
package org.redkale.convert.proto;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
@@ -54,7 +54,7 @@ public class RedkaleClassLoader extends URLClassLoader {
|
|||||||
"org.redkale.convert.bson",
|
"org.redkale.convert.bson",
|
||||||
"org.redkale.convert.ext",
|
"org.redkale.convert.ext",
|
||||||
"org.redkale.convert.json",
|
"org.redkale.convert.json",
|
||||||
"org.redkale.convert.protobuf",
|
"org.redkale.convert.proto",
|
||||||
"org.redkale.inject",
|
"org.redkale.inject",
|
||||||
"org.redkale.lock",
|
"org.redkale.lock",
|
||||||
"org.redkale.mq",
|
"org.redkale.mq",
|
||||||
|
|||||||
20
src/main/java/org/redkale/util/ResourceEvent.java
Normal file
20
src/main/java/org/redkale/util/ResourceEvent.java
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.redkale.util;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 详情见: https://redkale.org
|
||||||
|
*
|
||||||
|
* @see org.redkale.inject.ResourceEvent
|
||||||
|
*
|
||||||
|
* @param <T> 泛型
|
||||||
|
*
|
||||||
|
* @author zhangjx
|
||||||
|
* @since 2.7.0
|
||||||
|
* @deprecated replaced by org.redkale.inject.ResourceEvent
|
||||||
|
*/
|
||||||
|
@Deprecated(since = "2.8.0")
|
||||||
|
public interface ResourceEvent<T> extends org.redkale.inject.ResourceEvent<T> {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -3,11 +3,11 @@
|
|||||||
* To change this template file, choose Tools | Templates
|
* To change this template file, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import org.redkale.util.Utility;
|
import org.redkale.util.Utility;
|
||||||
import org.redkale.convert.protobuf.ProtobufConvert;
|
import org.redkale.convert.proto.ProtobufConvert;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
import static java.lang.annotation.ElementType.TYPE;
|
import static java.lang.annotation.ElementType.TYPE;
|
||||||
@@ -10,10 +10,10 @@ import java.util.function.*;
|
|||||||
import org.junit.jupiter.api.*;
|
import org.junit.jupiter.api.*;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
import org.redkale.convert.json.JsonConvert;
|
import org.redkale.convert.json.JsonConvert;
|
||||||
import org.redkale.convert.protobuf.ProtobufConvert;
|
import org.redkale.convert.proto.ProtobufConvert;
|
||||||
import org.redkale.convert.protobuf.ProtobufObjectDecoder;
|
import org.redkale.convert.proto.ProtobufObjectDecoder;
|
||||||
import org.redkale.convert.protobuf.ProtobufObjectEncoder;
|
import org.redkale.convert.proto.ProtobufObjectEncoder;
|
||||||
import org.redkale.convert.protobuf.ProtobufReader;
|
import org.redkale.convert.proto.ProtobufReader;
|
||||||
import org.redkale.util.*;
|
import org.redkale.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
import static java.lang.annotation.ElementType.TYPE;
|
import static java.lang.annotation.ElementType.TYPE;
|
||||||
@@ -10,11 +10,11 @@ import java.util.function.*;
|
|||||||
import org.junit.jupiter.api.*;
|
import org.junit.jupiter.api.*;
|
||||||
import org.redkale.convert.*;
|
import org.redkale.convert.*;
|
||||||
import org.redkale.convert.json.JsonConvert;
|
import org.redkale.convert.json.JsonConvert;
|
||||||
import org.redkale.convert.protobuf.ProtobufConvert;
|
import org.redkale.convert.proto.ProtobufConvert;
|
||||||
import org.redkale.convert.protobuf.ProtobufFactory;
|
import org.redkale.convert.proto.ProtobufFactory;
|
||||||
import org.redkale.convert.protobuf.ProtobufObjectDecoder;
|
import org.redkale.convert.proto.ProtobufObjectDecoder;
|
||||||
import org.redkale.convert.protobuf.ProtobufObjectEncoder;
|
import org.redkale.convert.proto.ProtobufObjectEncoder;
|
||||||
import org.redkale.convert.protobuf.ProtobufReader;
|
import org.redkale.convert.proto.ProtobufReader;
|
||||||
import org.redkale.util.*;
|
import org.redkale.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
//// Generated by the protocol buffer compiler. DO NOT EDIT!
|
//// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
//// source: src/test/java/org/redkalex/test/protobuf/PSimpleBean.proto
|
//// source: src/test/java/org/redkalex/test/protobuf/PSimpleBean.proto
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
//// Generated by the protocol buffer compiler. DO NOT EDIT!
|
//// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
//// source: src/test/java/org/redkalex/test/protobuf/PTestBean.proto
|
//// source: src/test/java/org/redkalex/test/protobuf/PTestBean.proto
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
///*
|
///*
|
||||||
// * To change this license header, choose License Headers in Project Properties.
|
// * To change this license header, choose License Headers in Project Properties.
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package org.redkale.test.convert.protobuf;
|
package org.redkale.test.convert.proto;
|
||||||
|
|
||||||
///*
|
///*
|
||||||
// * To change this license header, choose License Headers in Project Properties.
|
// * To change this license header, choose License Headers in Project Properties.
|
||||||
Reference in New Issue
Block a user