001/*
002 * CDDL HEADER START
003 *
004 * The contents of this file are subject to the terms of the
005 * Common Development and Distribution License, Version 1.0 only
006 * (the "License").  You may not use this file except in compliance
007 * with the License.
008 *
009 * You can obtain a copy of the license at
010 * http://www.opensource.org/licenses/cddl1.php.
011 * See the License for the specific language governing permissions
012 * and limitations under the License.
013 *
014 * When distributing Covered Code, include this CDDL HEADER in each
015 * file. If applicable, add the following below this CDDL HEADER,
016 * with the fields enclosed by brackets "[]" replaced with your own
017 * identifying information:
018 *      Portions Copyright [yyyy] [name of copyright owner]
019 *
020 * CDDL HEADER END
021 *
022 *
023 *      Copyright 2010-2019 Ping Identity Corporation
024 */
025package com.unboundid.directory.sdk.broker.config;
026
027
028
029import com.unboundid.directory.sdk.broker.types.BrokerContext;
030import com.unboundid.directory.sdk.common.config.GenericConfig;
031import com.unboundid.util.NotExtensible;
032import com.unboundid.util.ThreadSafety;
033import com.unboundid.util.ThreadSafetyLevel;
034
035
036
037/**
038 * This interface defines a set of methods that may be used to obtain
039 * information about the general configuration for extensions used by the
040 * Data Governance Server.
041 */
042@NotExtensible()
043@ThreadSafety(level=ThreadSafetyLevel.INTERFACE_NOT_THREADSAFE)
044public interface GenericBrokerConfig
045       extends GenericConfig
046{
047  /**
048   * Retrieves a handle to the server context for the server in which this
049   * extension is running.
050   *
051   * @return  A handle to the server context for the server in which this
052   *          extension is running.
053   */
054  BrokerContext getServerContext();
055}