com.openharbor.beck.configure
Class Mapping

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended bycom.openharbor.beck.configure.Mapping
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, Configuration, java.util.List, java.util.RandomAccess, java.io.Serializable
Direct Known Subclasses:
When

public class Mapping
extends java.util.ArrayList
implements Configuration

A search list. Each request for information is delegated to the first element of the list that is able to supply it.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.openharbor.beck.map.Configuration
Configuration.MarshalSelector, Configuration.Selector, Configuration.UnmarshalSelector
 
Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface com.openharbor.beck.map.Configuration
CLASS, EMPTY_STRING, EXCLUDE_PROPERTIES, FACTORY, GETTER, IDENTIFIER, INCLUDE_PROPERTIES, MAP_FROM_XML, MAPPER, MARSHALLER, MINIMAL_XML, MODEL, NAMER, NO_XML, PACKAGES, PROPERTY, RECEIVER, SETTER, UNMARSHALLER, XML
 
Constructor Summary
Mapping()
           
 
Method Summary
 java.lang.Object get(Configuration.Selector selector)
          Get configuration information.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

Mapping

public Mapping()
Method Detail

get

public java.lang.Object get(Configuration.Selector selector)
Description copied from interface: Configuration
Get configuration information. This method must be thread-safe; that is, when called concurrently by multiple threads, the object returned to each thread must be independent of the threads' order of execution. This is ordinarily achieved by not modifying any objects.

Specified by:
get in interface Configuration
Parameters:
selector - identifies what information is wanted.
Returns:
the desired information, or null if no such information is available.