public class XMLMetaBeanManager extends MetaBeanManager implements XMLMetaBeanRegistry, MetaBeanEnricher
builder, cache, complete
Constructor and Description |
---|
XMLMetaBeanManager() |
XMLMetaBeanManager(XMLMetaBeanBuilder builder) |
Modifier and Type | Method and Description |
---|---|
void |
addLoader(XMLMetaBeanLoader loader)
add a loader for xml bean infos.
|
void |
addResourceLoader(String resource)
convenience method to add a loader for a xml file in the classpath
|
protected void |
computeRelatedMetaBean(MetaProperty prop,
String beanRef)
Compute a single related
MetaBean . |
protected void |
computeRelationships(MetaBean beanInfo,
Map<String,MetaBean> cached) |
Map<String,MetaBean> |
enrichCopies(XMLMetaBeanInfos... infos) |
Map<String,MetaBean> |
findAll() |
computeRelationships, findForClass, findForId, getBuilder, getCache
public XMLMetaBeanManager()
public XMLMetaBeanManager(XMLMetaBeanBuilder builder)
public void addResourceLoader(String resource)
XMLMetaBeanRegistry
addResourceLoader
in interface XMLMetaBeanRegistry
resource
- - path of xml file in classpathpublic void addLoader(XMLMetaBeanLoader loader)
XMLMetaBeanRegistry
addLoader
in interface XMLMetaBeanRegistry
public Map<String,MetaBean> enrichCopies(XMLMetaBeanInfos... infos)
enrichCopies
in interface MetaBeanEnricher
infos
- - the patches to applypublic Map<String,MetaBean> findAll()
protected void computeRelationships(MetaBean beanInfo, Map<String,MetaBean> cached)
protected void computeRelatedMetaBean(MetaProperty prop, String beanRef)
MetaBeanManager
MetaBean
.computeRelatedMetaBean
in class MetaBeanManager
prop
- meta propertybeanRef
- bean referenceCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.