1 16 package org.apache.cocoon.components.flow.java; 17 18 import java.lang.reflect.Method ; 19 20 import org.apache.avalon.framework.context.Context; 21 import org.apache.avalon.framework.logger.Logger; 22 import org.apache.avalon.framework.parameters.Parameters; 23 import org.apache.avalon.framework.service.ServiceManager; 24 import org.apache.cocoon.environment.Redirector; 25 26 33 public class ContinuationContext { 34 35 private Object object; 36 private Method method; 37 38 private Logger logger; 39 private Context avalonContext; 40 private ServiceManager manager; 41 private Redirector redirector; 42 43 private Parameters parameters; 44 45 public ContinuationContext() { 46 } 47 48 public void setObject(Object object) { 49 this.object = object; 50 } 51 52 public Object getObject() { 53 return object; 54 } 55 56 public void setMethod(Method method) { 57 this.method = method; 58 } 59 60 public Method getMethod() { 61 return method; 62 } 63 64 public void setAvalonContext(Context avalonContext) { 65 this.avalonContext = avalonContext; 66 } 67 68 public Context getAvalonContext() { 69 return avalonContext; 70 } 71 72 public void setLogger(Logger logger) { 73 this.logger = logger; 74 } 75 76 public Logger getLogger() { 77 return logger; 78 } 79 80 public void setServiceManager(ServiceManager manager) { 81 this.manager = manager; 82 } 83 84 public ServiceManager getServiceManager() { 85 return manager; 86 } 87 88 public void setRedirector(Redirector redirector) { 89 this.redirector = redirector; 90 } 91 92 public Redirector getRedirector() { 93 return redirector; 94 } 95 96 public Parameters getParameters() { 97 return parameters; 98 } 99 100 public void setParameters(Parameters parameters) { 101 this.parameters = parameters; 102 } 103 } 104 | Popular Tags |