ch.elca.el4j.services.remoting
Class ContextEnrichmentDecorator

java.lang.Object
  extended by ch.elca.el4j.services.remoting.ContextEnrichmentDecorator
All Implemented Interfaces:
EnrichmentDecorator

public class ContextEnrichmentDecorator
extends Object
implements EnrichmentDecorator

This interface decorator adds a map with assembled implicit context to each method of the given interface.

Author:
Martin Zeltner (MZE)
File-location:
ContextEnrichmentDecorator
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Constructor Summary
ContextEnrichmentDecorator()
           
 
Method Summary
 Class[] changedExtendedInterface(Class[] extendedInterfaces)
          Method to change classes, which are extended by the interface.
 String changedInterfaceName(String originalInterfaceName)
          Method to change the name of the interface.
 MethodDescriptor changedMethodSignature(MethodDescriptor method)
          Method to change the signature of given method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextEnrichmentDecorator

public ContextEnrichmentDecorator()
Method Detail

changedInterfaceName

public String changedInterfaceName(String originalInterfaceName)
Method to change the name of the interface.

Specified by:
changedInterfaceName in interface EnrichmentDecorator
Parameters:
originalInterfaceName - Is the name of the original interface.
Returns:
Returns the newly created interface name.

changedExtendedInterface

public Class[] changedExtendedInterface(Class[] extendedInterfaces)
Method to change classes, which are extended by the interface.

Specified by:
changedExtendedInterface in interface EnrichmentDecorator
Parameters:
extendedInterfaces - Are the extended interfaces of the original interface.
Returns:
Returns the extended interfaces for the new interface.

changedMethodSignature

public MethodDescriptor changedMethodSignature(MethodDescriptor method)
Method to change the signature of given method.

Specified by:
changedMethodSignature in interface EnrichmentDecorator
Parameters:
method - Is the method from the original interface.
Returns:
Returns the method signature for the new interface.


Copyright © 2005-2011 ELCA. All Rights Reserved.