01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.monitoring;
06:
07: import javax.management.InvalidAttributeValueException;
08: import javax.management.openmbean.CompositeData;
09: import javax.management.openmbean.CompositeType;
10: import javax.management.openmbean.OpenDataException;
11: import javax.management.openmbean.OpenType;
12:
13: public interface CompositeDataWrapper {
14: public String getCompositeTypeName();
15:
16: public void setCompositeTypeName(String compositeTypeName);
17:
18: public String getCompositeTypeDescription();
19:
20: public String[] getItemNames();
21:
22: public String[] getItemDescriptions();
23:
24: public OpenType[] getItemTypes() throws OpenDataException;
25:
26: public Object[] getItemValues();
27:
28: public void setItemValues(CompositeData compositeData)
29: throws InvalidAttributeValueException;
30:
31: public CompositeType getCompositeType() throws OpenDataException;
32:
33: public CompositeData toCompositeData() throws OpenDataException;
34:
35: public void fromCompositeData(CompositeData compositeData)
36: throws OpenDataException, InvalidAttributeValueException;
37: }
|