content: /*
   * Licensed to the Apache Software Foundation (ASF) under one or more
   * contributor license agreements.  See the NOTICE file distributed with
   * this work for additional information regarding copyright ownership.
   * The ASF licenses this file to You under the Apache License, Version 2.0
   * (the "License"); you may not use this file except in compliance with
   * the License.  You may obtain a copy of the License at
   *
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package org.apache.camel.component.infinispan.remote.cluster;
  
  import java.util.Map;
  
  import org.apache.camel.component.infinispan.cluster.InfinispanClusterConfiguration;
  import org.apache.camel.component.infinispan.remote.InfinispanRemoteConfiguration;
  import org.infinispan.client.hotrod.RemoteCacheManager;
  import org.infinispan.client.hotrod.configuration.Configuration;
  
  public class InfinispanRemoteClusterConfiguration
          extends InfinispanClusterConfiguration<InfinispanRemoteConfiguration>
          implements Cloneable {
  
      public InfinispanRemoteClusterConfiguration() {
          super(new InfinispanRemoteConfiguration());
      }
  
      // ***********************************************
      // Properties
      // ***********************************************
  
      public String getHosts() {
          return getConfiguration().getHosts();
      }
  
      public void setHosts(String hosts) {
          getConfiguration().setHosts(hosts);
      }
  
      public boolean isSecure() {
          return getConfiguration().isSecure();
      }
  
      public void setSecure(boolean secure) {
          getConfiguration().setSecure(secure);
      }
  
      public String getUsername() {
          return getConfiguration().getUsername();
      }
  
      public void setUsername(String username) {
          getConfiguration().setUsername(username);
      }
  
      public String getPassword() {
          return getConfiguration().getPassword();
      }
  
      public void setPassword(String password) {
          getConfiguration().setPassword(password);
      }
  
      public String getSaslMechanism() {
          return getConfiguration().getSaslMechanism();
      }
  
      public void setSaslMechanism(String saslMechanism) {
          getConfiguration().setSaslMechanism(saslMechanism);
      }
  
      public String getSecurityRealm() {
          return getConfiguration().getSecurityRealm();
      }
  
      public void setSecurityRealm(String securityRealm) {
          getConfiguration().setSecurityRealm(securityRealm);
      }
  
      public String getSecurityServerName() {
          return getConfiguration().getSecurityServerName();
      }
  
      public void setSecurityServerName(String securityServerName) {
          getConfiguration().setSecurityServerName(securityServerName);
      }
  
      public Map<String, String> getConfigurationProperties() {
          return getConfiguration().getConfigurationProperties();
      }
  
      public void setConfigurationProperties(Map<String, String> configurationProperties) {
          getConfiguration().setConfigurationProperties(configurationProperties);
      }
  
      public void addConfigurationProperty(String key, String value) {
          getConfiguration().addConfigurationProperty(key, value);
      }
  
      public RemoteCacheManager getCacheContainer() {
          return getConfiguration().getCacheContainer();
      }
  
      public void setCacheContainer(RemoteCacheManager cacheContainer) {
          getConfiguration().setCacheContainer(cacheContainer);
      }
  
      public Configuration getCacheContainerConfiguration() {
          return getConfiguration().getCacheContainerConfiguration();
      }
  
      public void setCacheContainerConfiguration(Configuration cacheContainerConfiguration) {
          getConfiguration().setCacheContainerConfiguration(cacheContainerConfiguration);
      }
  
      // ***********************************************
      //
      // ***********************************************
  
      @Override
      public InfinispanRemoteClusterConfiguration clone() {
          return (InfinispanRemoteClusterConfiguration) super.clone();
      }
  }
  