Package io.protostuff.compiler
Class CachingProtoLoader
java.lang.Object
io.protostuff.parser.DefaultProtoLoader
io.protostuff.compiler.CachingProtoLoader
- All Implemented Interfaces:
Proto.Loader
A proto loader that caches the protos for re-use.
-
Field Summary
FieldsFields inherited from class io.protostuff.parser.DefaultProtoLoader
ALL, DEFAULT_INSTANCE, DEFAULT_PROTO_SEARCH_STRATEGY, PATH_SEPARATOR, PATH_SEPARATOR_PROPERTY, PROTO_PATH_AND_CLASSPATH, PROTO_PATH_ONLY, protoSearchStrategy
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.protostuff.parser.DefaultProtoLoader
getDefaultInstance, getResource, getResource, load, loadFromClasspath, loadFromOtherResource, searchFromAll, searchFromProtoPathAndClasspath, searchFromProtoPathOnly
-
Field Details
-
loadedProtos
-
-
Constructor Details
-
CachingProtoLoader
public CachingProtoLoader() -
CachingProtoLoader
-
-
Method Details
-
getCachedProtos
-
loadFrom
- Overrides:
loadFrom
in classDefaultProtoLoader
- Throws:
Exception
-
loadFrom
- Overrides:
loadFrom
in classDefaultProtoLoader
- Throws:
Exception
-