|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.plugins.loader.AbstractMetaDataLoader
public abstract class AbstractMetaDataLoader
AbstractMetaDataLoader.
The default behaviour is to assume there are only annotations with the types and names of the getMetadata() methods interpreted as annotation types and class names.
| Constructor Summary | |
|---|---|
AbstractMetaDataLoader()
Create a new AbstractMetaDataLoader. |
|
AbstractMetaDataLoader(ScopeKey key)
Create a new AbstractMetaDataLoader. |
|
| Method Summary | ||
|---|---|---|
ScopeKey |
getScope()
Return the scope key |
|
MetaDataRetrieval |
getScopedRetrieval(ScopeLevel level)
Get scoped retrieval for level param. |
|
ValidTime |
getValidTime()
The valid time |
|
void |
invalidate()
Invalidate |
|
|
isCachable(Item<T> item)
Whether the item is cachable |
|
AnnotationsItem |
retrieveLocalAnnotations()
Get all the local annotations |
|
MetaDatasItem |
retrieveLocalMetaData()
Get all the local metadata |
|
MetaDatasItem |
retrieveMetaData()
Get all the metadata |
|
|
retrieveMetaData(Class<T> type)
Get metadata |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.metadata.spi.retrieval.MetaDataRetrieval |
|---|
getComponentMetaDataRetrieval, isEmpty, retrieveAnnotation, retrieveAnnotations, retrieveMetaData |
| Constructor Detail |
|---|
public AbstractMetaDataLoader()
public AbstractMetaDataLoader(ScopeKey key)
key - the scope| Method Detail |
|---|
public ScopeKey getScope()
MetaDataRetrieval
getScope in interface MetaDataRetrievalpublic ValidTime getValidTime()
MetaDataRetrieval
getValidTime in interface MetaDataRetrievalpublic <T> boolean isCachable(Item<T> item)
MetaDataLoader
isCachable in interface MetaDataLoaderT - the item typeitem - the item
public AnnotationsItem retrieveLocalAnnotations()
MetaDataRetrieval
retrieveLocalAnnotations in interface MetaDataRetrievalpublic <T> MetaDataItem<T> retrieveMetaData(Class<T> type)
MetaDataRetrieval
retrieveMetaData in interface MetaDataRetrievalT - the metadata typetype - the type
public MetaDatasItem retrieveLocalMetaData()
MetaDataRetrieval
retrieveLocalMetaData in interface MetaDataRetrievalpublic MetaDatasItem retrieveMetaData()
MetaDataRetrieval
retrieveMetaData in interface MetaDataRetrievalpublic MetaDataRetrieval getScopedRetrieval(ScopeLevel level)
MetaDataRetrieval
getScopedRetrieval in interface MetaDataRetrievallevel - the scope level
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||