1 15 package org.apache.tapestry.services.impl; 16 17 import org.apache.hivemind.ServiceImplementationFactory; 18 import org.apache.hivemind.ServiceImplementationFactoryParameters; 19 import org.apache.hivemind.schema.Translator; 20 21 29 public class InjectedValueProviderFactory implements ServiceImplementationFactory 30 { 31 private Translator _objectTranslator; 32 33 public Object createCoreServiceImplementation(ServiceImplementationFactoryParameters parameters) 34 { 35 37 return new InjectedValueProviderImpl(parameters.getInvokingModule(), _objectTranslator); 38 } 39 40 public void setObjectTranslator(Translator objectTranslator) 41 { 42 _objectTranslator = objectTranslator; 43 } 44 } | Popular Tags |