intarsys runtime library

de.intarsys.tools.objectmodel
Class StandardClassRegistry

java.lang.Object
  extended by de.intarsys.tools.objectmodel.StandardClassRegistry
All Implemented Interfaces:
IClassRegistry

public class StandardClassRegistry
extends Object
implements IClassRegistry

A default implementation for IClassRegistry.


Constructor Summary
StandardClassRegistry()
           
 
Method Summary
 IClass[] getClasses()
          All declared classes.
 IClass lookupClass(IClassSelector selector)
          The IClass that matches the selector.
 void registerClass(IClass clazz)
          Add a new IClass to the repository.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardClassRegistry

public StandardClassRegistry()
Method Detail

getClasses

public IClass[] getClasses()
Description copied from interface: IClassRegistry
All declared classes.

Specified by:
getClasses in interface IClassRegistry
Returns:
All declared classes.

lookupClass

public IClass lookupClass(IClassSelector selector)
Description copied from interface: IClassRegistry
The IClass that matches the selector.

Specified by:
lookupClass in interface IClassRegistry
Parameters:
selector - A IClassSelector identifiying the IClass.
Returns:
The IClass that matches the selector.

registerClass

public void registerClass(IClass clazz)
Description copied from interface: IClassRegistry
Add a new IClass to the repository.

Specified by:
registerClass in interface IClassRegistry

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.