01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management;
10:
11: /**
12: * Use to gain access to the {@link Descriptor} objects associated with MBean metadata.
13: *
14: * @version $Revision: 1.6 $
15: */
16: public interface DescriptorAccess {
17: /**
18: * Returns a copy of the descriptor
19: */
20: public Descriptor getDescriptor();
21:
22: /**
23: * Sets the descriptor with a copy of the given descriptor.
24: */
25: public void setDescriptor(Descriptor descriptor);
26: }
|