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