br.com.arsmachina.tapestrycrud.services.impl
Class ActivationContextEncoderSourceImpl

java.lang.Object
  extended by br.com.arsmachina.tapestrycrud.services.impl.ActivationContextEncoderSourceImpl
All Implemented Interfaces:
ActivationContextEncoderSource

public class ActivationContextEncoderSourceImpl
extends Object
implements ActivationContextEncoderSource

ActivationContextEncoderSource implementation.

Author:
Thiago H. de Paula Figueiredo

Constructor Summary
ActivationContextEncoderSourceImpl(Map<Class,ActivationContextEncoder> registrations, EncoderSource encoderSource, PrimaryKeyEncoderSource primaryKeyEncoderSource, PrimaryKeyTypeService primaryKeyTypeService)
          Single constructor.
 
Method Summary
<T> ActivationContextEncoder<T>
get(Class<T> clasz)
          Returns the ActivationContextEncoder of a given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationContextEncoderSourceImpl

public ActivationContextEncoderSourceImpl(Map<Class,ActivationContextEncoder> registrations,
                                          EncoderSource encoderSource,
                                          PrimaryKeyEncoderSource primaryKeyEncoderSource,
                                          PrimaryKeyTypeService primaryKeyTypeService)
Single constructor.

Parameters:
registrations -
Method Detail

get

public <T> ActivationContextEncoder<T> get(Class<T> clasz)
Description copied from interface: ActivationContextEncoderSource
Returns the ActivationContextEncoder of a given type.

Specified by:
get in interface ActivationContextEncoderSource
Type Parameters:
T - a type.
Parameters:
clasz - a Class.
Returns:
an ActivationContextEncoder.


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.