org.objectweb.fractal.fraclet.annotation.generator.template
Class LookupFcTemplate
java.lang.Object
org.objectweb.fractal.fraclet.annotation.generator.template.LookupFcTemplate
- All Implemented Interfaces:
- spoon.template.Template
public class LookupFcTemplate
- extends Object
- implements spoon.template.Template
A template to manage the LookupFc method
- Author:
- Nicolas Pessemier
Constructor Summary |
LookupFcTemplate(String fieldName)
Use this constructor for collection bindings` |
LookupFcTemplate(String itfName,
spoon.reflect.reference.CtTypeReference<?> serviceType,
String serviceName)
Use this constructor for singeton bindings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupFcTemplate
public LookupFcTemplate(String itfName,
spoon.reflect.reference.CtTypeReference<?> serviceType,
String serviceName)
- Use this constructor for singeton bindings
- Parameters:
itfName
- The name of the Fractal interfaceserviceType
- The java type of the bindingserviceName
- The name of the java field
LookupFcTemplate
public LookupFcTemplate(String fieldName)
- Use this constructor for collection bindings`
- Parameters:
fieldName
- the name of the map field