View Javadoc
1   /*
2    * Copyright 2011 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.openehealth.ipf.platform.camel.ihe.ws.mbean;
17  
18  import org.apache.camel.Consumer;
19  import org.apache.camel.Processor;
20  import org.apache.camel.Producer;
21  import org.apache.cxf.feature.AbstractFeature;
22  import org.apache.cxf.interceptor.InterceptorProvider;
23  import org.openehealth.ipf.commons.audit.AuditContext;
24  import org.openehealth.ipf.commons.ihe.ws.JaxWsClientFactory;
25  import org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory;
26  import org.openehealth.ipf.commons.ihe.ws.WsTransactionConfiguration;
27  import org.openehealth.ipf.commons.ihe.ws.cxf.audit.WsAuditDataset;
28  import org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint;
29  import org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsProducer;
30  
31  import java.util.List;
32  import java.util.Map;
33  
34  public class SomeItiEndpoint extends AbstractWsEndpoint<WsAuditDataset, WsTransactionConfiguration<WsAuditDataset>> {
35  
36      @SuppressWarnings("unchecked")
37      public SomeItiEndpoint(
38              String endpointUri,
39              String address,
40              SomeItiComponent someItiComponent,
41              AuditContext auditContext,
42              InterceptorProvider interceptorProvider,
43              List<AbstractFeature> features,
44              List<String> schemaLocations,
45              Map<String, Object> properties) {
46          super(endpointUri, address, someItiComponent, auditContext,
47                  interceptorProvider, features, schemaLocations, properties, null);
48      }
49  
50      @Override
51      public JaxWsClientFactory<WsAuditDataset> getJaxWsClientFactory() {
52          return null;   // dummy
53      }
54  
55      @Override
56      public JaxWsServiceFactory<WsAuditDataset> getJaxWsServiceFactory() {
57          return null;   // dummy
58      }
59  
60      @Override
61      public Producer createProducer() {
62          return null;   // dummy
63      }
64  
65      @Override
66      public AbstractWsProducer<WsAuditDataset, WsTransactionConfiguration<WsAuditDataset>, ?, ?> getProducer(AbstractWsEndpoint<WsAuditDataset, WsTransactionConfiguration<WsAuditDataset>> endpoint, JaxWsClientFactory<WsAuditDataset> clientFactory) {
67          return null;
68      }
69  
70      @Override
71      public Consumer createConsumer(Processor processor) {
72          return null;   // dummy
73      }
74  
75  }