org.apache.maven.diagrams.connectors.classes
Interface ClassNodesRepository

All Known Implementing Classes:
DefaultClassNodesRepository

public interface ClassNodesRepository


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 ClassNode getClassNode(java.lang.String className)
          The method checks if the classNode for given className ((fully qualified, dot separated) already exists (and returns it).
 java.util.Map<java.lang.String,ClassNode> getMap()
          Returns the current state of the cache (as a map from ClassName to ClassNode)
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

getClassNode

ClassNode getClassNode(java.lang.String className)
                       throws ClassDataSourceException
The method checks if the classNode for given className ((fully qualified, dot separated) already exists (and returns it). If not - the method calculates it and stores in the cache the result.

Throws:
ClassDataSourceException

getMap

java.util.Map<java.lang.String,ClassNode> getMap()
Returns the current state of the cache (as a map from ClassName to ClassNode)

Returns:


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.