|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Subject | |
|---|---|
| org.schemarepo | |
| org.schemarepo.json | |
| Uses of Subject in org.schemarepo |
|---|
| Subclasses of Subject in org.schemarepo | |
|---|---|
class |
DelegatingSubject
A DelegatingSubject is a Subject that delegates work to an underlying
Subject. |
| Methods in org.schemarepo that return Subject | |
|---|---|
Subject |
SubjectCache.add(Subject entry)
Add or update the Subject entry in this cache. |
Subject |
RepositoryCache.add(Subject entry)
|
Subject |
InMemorySubjectCache.add(Subject subject)
|
protected Subject |
AbstractBackendRepository.cacheSubject(Subject subject)
Applies validation decorator, and caches subject. |
static Subject |
Subject.cacheWith(Subject subject,
SchemaEntryCache cache)
Create a Subject that caches id to schema mappings using the
SchemaEntryCache provided. |
protected Subject |
AbstractBackendRepository.getAndCacheSubject(String subjectName)
Creates, applies validation decorator, and caches subject. |
protected abstract Subject |
AbstractBackendRepository.getSubjectInstance(String subjectName)
Concrete subclasses must override to return specific implementation of Subject. |
protected Subject |
LocalFileSystemRepository.getSubjectInstance(String subjectName)
|
protected Subject |
InMemoryRepository.getSubjectInstance(String subjectName)
|
Subject |
SubjectCache.lookup(String name)
Look up a Subject by its name. |
Subject |
AbstractBackendRepository.lookup(String subjectName)
|
Subject |
CacheRepository.lookup(String subjectName)
|
Subject |
ReadOnlyRepository.lookup(String subjectName)
|
Subject |
Repository.lookup(String subjectName)
Returns the subject if it exists, null otherwise. |
Subject |
RepositoryCache.lookup(String name)
|
Subject |
InMemorySubjectCache.lookup(String name)
|
Subject |
DelegatingRepository.lookup(String subjectName)
|
static Subject |
Subject.readOnly(Subject subject)
Create a Subject that rejects modifications, throwing
IllegalStateException if a modification is attempted |
Subject |
AbstractBackendRepository.register(String subjectName,
SubjectConfig config)
|
Subject |
CacheRepository.register(String subjectName,
SubjectConfig config)
|
Subject |
ReadOnlyRepository.register(String subjectName,
SubjectConfig config)
|
Subject |
Repository.register(String subjectName,
SubjectConfig config)
Attempt to create a Subject with the given name and validator. |
Subject |
DelegatingRepository.register(String subjectName,
SubjectConfig config)
|
static Subject |
Subject.validatingSubject(Subject subject,
ValidatorFactory factory)
Create a Subject that validates schemas as configured. |
| Methods in org.schemarepo that return types with arguments of type Subject | |
|---|---|
Iterable<Subject> |
AbstractBackendRepository.subjects()
|
Iterable<Subject> |
CacheRepository.subjects()
|
Iterable<Subject> |
ReadOnlyRepository.subjects()
|
Iterable<Subject> |
Repository.subjects()
List all subjects. |
Iterable<Subject> |
DelegatingRepository.subjects()
|
Iterable<Subject> |
InMemorySubjectCache.values()
|
| Methods in org.schemarepo with parameters of type Subject | |
|---|---|
Subject |
SubjectCache.add(Subject entry)
Add or update the Subject entry in this cache. |
Subject |
RepositoryCache.add(Subject entry)
|
Subject |
InMemorySubjectCache.add(Subject subject)
|
protected Subject |
AbstractBackendRepository.cacheSubject(Subject subject)
Applies validation decorator, and caches subject. |
static Subject |
Subject.cacheWith(Subject subject,
SchemaEntryCache cache)
Create a Subject that caches id to schema mappings using the
SchemaEntryCache provided. |
static Subject |
Subject.readOnly(Subject subject)
Create a Subject that rejects modifications, throwing
IllegalStateException if a modification is attempted |
static Subject |
Subject.validatingSubject(Subject subject,
ValidatorFactory factory)
Create a Subject that validates schemas as configured. |
| Method parameters in org.schemarepo with type arguments of type Subject | |
|---|---|
static String |
RepositoryUtil.subjectsToString(Iterable<Subject> subjects)
Encode Subjects into a String for use by
RepositoryUtil.subjectNamesFromString(String) |
| Constructors in org.schemarepo with parameters of type Subject | |
|---|---|
DelegatingSubject(Subject delegate)
A DelegatingSubject delegates work to a provided Subject. |
|
| Uses of Subject in org.schemarepo.json |
|---|
| Method parameters in org.schemarepo.json with type arguments of type Subject | |
|---|---|
String |
GsonJsonUtil.subjectsToJson(Iterable<Subject> subjects)
|
String |
JsonUtil.subjectsToJson(Iterable<Subject> subjects)
Encode Subjects into a String for use by
JsonUtil.subjectNamesFromJson(String)
The format is an array of objects containing a name field, for example:
[{"name": "subject1"}, {"name": "subject2"}] |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||