Codota Logo
org.jboss.metadata.plugins.repository.basic
Code IndexAdd Codota to your IDE (free)

How to use org.jboss.metadata.plugins.repository.basic

Best Java code snippets using org.jboss.metadata.plugins.repository.basic (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: org.jboss.microcontainer/jboss-kernel

/**
* Create a new BasicKernelMetaDataRepository.
*/
public BasicKernelMetaDataRepository()
{
 super(new BasicMetaDataRepository());
}
origin: org.jboss/jboss-mdr

/**
* Create a new BasicMetaDataRepository.
*/
public BasicMetaDataRepository()
{
 // ClassMetaData retrieval by default
 addMetaDataRetrievalFactory(CommonLevels.CLASS, ClassMetaDataRetrievalFactory.INSTANCE);
}
origin: org.jboss/jboss-mdr

public Set<ScopeKey> getChildren(ScopeKey key)
{
 if (key == null)
   return retrievals.keySet();
 
 ChildrenMetaDataRepositoryVisitor visitor = new ChildrenMetaDataRepositoryVisitor(key);
 return matchScopes(visitor);
}
origin: org.jboss/jboss-mdr

public MetaDataRetrieval getMetaDataRetrieval(ScopeKey key)
{
 MetaDataRetrieval result = retrievals.get(key);
 if (result != null)
   return result;
 
 // Is this a single level?
 Collection<Scope> scopes = key.getScopes();
 if (scopes.size() != 1)
   return null;
 
 // See if we have a factory
 Scope scope = scopes.iterator().next();
 ScopeLevel scopeLevel = scope.getScopeLevel();
 MetaDataRetrievalFactory factory = getMetaDataRetrievalFactory(scopeLevel);
 if (factory == null)
   return null;
 
 // We have a factory, use it
 return factory.getMetaDataRetrieval(scope);
}
origin: org.jboss.microcontainer/jboss-container

/**
* Create a new BasicMetaDataRepository.
*/
public BasicMetaDataRepository()
{
 // ClassMetaData retrieval by default
 addMetaDataRetrievalFactory(CommonLevels.CLASS, ClassMetaDataRetrievalFactory.INSTANCE);
}
origin: org.jboss.microcontainer/jboss-container

public Set<ScopeKey> getChildren(ScopeKey key)
{
 if (key == null)
   return retrievals.keySet();
 
 ChildrenMetaDataRepositoryVisitor visitor = new ChildrenMetaDataRepositoryVisitor(key);
 return matchScopes(visitor);
}
origin: org.jboss.microcontainer/jboss-container

public MetaDataRetrieval getMetaDataRetrieval(ScopeKey key)
{
 MetaDataRetrieval result = retrievals.get(key);
 if (result != null)
   return result;
 
 // Is this a single level?
 Collection<Scope> scopes = key.getScopes();
 if (scopes.size() != 1)
   return null;
 
 // See if we have a factory
 Scope scope = scopes.iterator().next();
 ScopeLevel scopeLevel = scope.getScopeLevel();
 MetaDataRetrievalFactory factory = getMetaDataRetrievalFactory(scopeLevel);
 if (factory == null)
   return null;
 
 // We have a factory, use it
 return factory.getMetaDataRetrieval(scope);
}
org.jboss.metadata.plugins.repository.basic

Most used classes

  • BasicMetaDataRepository
    BasicMetaDataRepository.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now