Package | Description |
---|---|
org.jboss.errai.common.metadata | |
org.jboss.errai.reflections | |
org.jboss.errai.reflections.serializers |
Modifier and Type | Class and Description |
---|---|
class |
GWTMetaDataScanner |
class |
MetaDataScanner
Scans component meta data.
|
Modifier and Type | Method and Description |
---|---|
static Reflections |
Reflections.collect()
collect saved Reflection xml resources and merge it into a Reflections instance
|
Reflections |
Reflections.collect(File file)
merges saved Reflections resources from the given file, using the serializer configured in this instance's Configuration
useful if you know the serialized resource location and prefer not to look it up the classpath
|
Reflections |
Reflections.collect(InputStream inputStream)
merges saved Reflections resources from the given input stream, using the serializer configured in this instance's Configuration
useful if you know the serialized resource location and prefer not to look it up the classpath |
Reflections |
Reflections.collect(String packagePrefix,
com.google.common.base.Predicate<String> resourceNameFilter)
collect saved Reflections resources from all urls that contains the given packagePrefix and matches the given resourceNameFilter
and de-serializes them using the serializer configured in the configuration
it is preferred to use a designated resource prefix (for example META-INF/reflections but not just META-INF),
so that relevant urls could be found much faster
|
Reflections |
Reflections.collect(String packagePrefix,
com.google.common.base.Predicate<String> resourceNameFilter,
Serializer serializer)
collect saved Reflections resources from all urls that contains the given packagePrefix and matches the given resourceNameFilter
and de-serializes them using the serializer configured in the configuration
it is preferred to use a designated resource prefix (for example META-INF/reflections but not just META-INF),
so that relevant urls could be found much faster
|
Reflections |
Reflections.merge(Reflections reflections)
merges a Reflections instance metadata into this instance
|
Modifier and Type | Method and Description |
---|---|
Reflections |
Reflections.merge(Reflections reflections)
merges a Reflections instance metadata into this instance
|
Modifier and Type | Method and Description |
---|---|
Reflections |
XmlSerializer.read(InputStream inputStream) |
Reflections |
Serializer.read(InputStream inputStream)
reads the input stream into a new Reflections instance, populating it's store
|
Reflections |
JavaCodeSerializer.read(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
File |
XmlSerializer.save(Reflections reflections,
String filename) |
File |
Serializer.save(Reflections reflections,
String filename)
saves a Reflections instance into the given filename
|
File |
JavaCodeSerializer.save(Reflections reflections,
String name)
name should be in the pattern: path/path/path/package.package.classname,
for example
|
String |
XmlSerializer.toString(Reflections reflections) |
String |
Serializer.toString(Reflections reflections)
returns a string serialization of the given Reflections instance
|
String |
JavaCodeSerializer.toString(Reflections reflections) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.