com.amazon.carbonado.gen
Class DelegateStorableGenerator<S extends Storable>

java.lang.Object
  extended by com.amazon.carbonado.gen.DelegateStorableGenerator<S>

public class DelegateStorableGenerator<S extends Storable>
extends Object

Generates and caches concrete implementations of Storable types which delegate to DelegateSupport. The delegating classes extend those generated by MasterStorableGenerator.

Since:
1.2
Author:
Brian S O'Neill

Method Summary
static
<S extends Storable>
Class<? extends S>
getDelegateClass(Class<S> type, EnumSet<MasterFeature> features)
          Delegate class has a constructor that accepts a DelegateSupport instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDelegateClass

public static <S extends Storable> Class<? extends S> getDelegateClass(Class<S> type,
                                                                       EnumSet<MasterFeature> features)
                                                            throws SupportException
Delegate class has a constructor that accepts a DelegateSupport instance.
 public <init>(DelegateSupport);
 

Throws:
SupportException


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.