1 55 56 package org.jboss.axis.handlers; 57 58 import javax.xml.rpc.handler.HandlerChain ; 59 import java.util.ArrayList ; 60 import java.util.List ; 61 import java.util.Map ; 62 63 public class HandlerInfoChainFactory 64 { 65 66 protected List handlerInfos = new ArrayList (); 67 protected String [] _roles = null; 68 69 public HandlerInfoChainFactory() 70 { 71 } 72 73 public HandlerInfoChainFactory(List handlerInfos) 74 { 75 this.handlerInfos = handlerInfos; 76 } 77 78 public List getHandlerInfos() 79 { 80 return this.handlerInfos; 81 } 82 83 public HandlerChain createHandlerChain() 84 { 85 HandlerChain hc = new HandlerChainImpl(handlerInfos); 86 return hc; 87 88 } 89 90 public String [] getRoles() 91 { 92 return _roles; 93 } 94 95 public void setRoles(String [] roles) 96 { 97 _roles = roles; 98 } 99 100 public void init(Map map) 101 { 102 } 104 } 105 106 | Popular Tags |