org.jboss.metadata.spi.retrieval
Class RetrievalUtils
java.lang.Object
org.jboss.metadata.spi.retrieval.RetrievalUtils
public class RetrievalUtils
- extends Object
Utilities for MDR metadata
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetrievalUtils
public RetrievalUtils()
createCachedMetaData
public static MetaData createCachedMetaData(MetaData metaData)
- Takes a MetaData and reworks the internal MetaDataContext to be caching.
If the metadata structure cannot be determined, a warning is logged, but no error is thrown.
- Parameters:
metaData
- The meta data we want to cache
- Returns:
- a cached meta data, or the original parameter if adding caching was not possible
- Throws:
IllegalArgumentException
- if the metaData parameter is null
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.