01: /**
02: *
03: * Licensed to the Apache Software Foundation (ASF) under one or more
04: * contributor license agreements. See the NOTICE file distributed with
05: * this work for additional information regarding copyright ownership.
06: * The ASF licenses this file to You under the Apache License, Version 2.0
07: * (the "License"); you may not use this file except in compliance with
08: * the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */package org.apache.openejb.client;
18:
19: import java.util.List;
20: import java.util.ArrayList;
21: import java.io.Serializable;
22:
23: public class HandlerChainMetaData implements Serializable {
24: private static final long serialVersionUID = -2861396042527297097L;
25: private String serviceNamePattern;
26: private String portNamePattern;
27: private final List<String> protocolBindings = new ArrayList<String>();
28: private final List<HandlerMetaData> handlers = new ArrayList<HandlerMetaData>();
29:
30: public String getServiceNamePattern() {
31: return serviceNamePattern;
32: }
33:
34: public void setServiceNamePattern(String serviceNamePattern) {
35: this .serviceNamePattern = serviceNamePattern;
36: }
37:
38: public String getPortNamePattern() {
39: return portNamePattern;
40: }
41:
42: public void setPortNamePattern(String portNamePattern) {
43: this .portNamePattern = portNamePattern;
44: }
45:
46: public List<String> getProtocolBindings() {
47: return protocolBindings;
48: }
49:
50: public List<HandlerMetaData> getHandlers() {
51: return handlers;
52: }
53: }
|