Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f447ec2638f279e304c4c6a044b9f1ccbd5bce75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*******************************************************************************
 * Copyright (c) 2011 VMware Inc.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *   VMware Inc. - initial contribution
 *******************************************************************************/

package org.eclipse.equinox.region.management;

import org.eclipse.equinox.region.Region;

import javax.management.MXBean;

/**
 * A {@link ManageableRegion} is a JMX representation of a {@link Region}.
 * <p />
 * 
 * <strong>Concurrent Semantics</strong><br />
 * Thread safe.
 */
@MXBean
public interface ManageableRegion {

	/**
	 * Returns the region name.
	 * 
	 * @return the region name
	 */
	String getName();

	/**
	 * Returns the {@ManageableRegion}s that this region depends upon.
	 * 
	 * @return an array of {@link ManageableRegion}s
	 */
	ManageableRegion[] getDependencies();

	/**
	 * Returns the bundle ids belonging to this region.
	 * 
	 * @return an array of bundle ids
	 */
	long[] getBundleIds();

}

Back to the top