components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/smf/SimpleSmfPropertyInfo.java
branchs11-update
changeset 2805 4888f6212f94
parent 827 0944d8c0158b
equal deleted inserted replaced
2804:7546c836fd87 2805:4888f6212f94
    18  *
    18  *
    19  * CDDL HEADER END
    19  * CDDL HEADER END
    20  */
    20  */
    21 
    21 
    22 /*
    22 /*
    23  * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
    23  * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
    24  */
    24  */
    25 
    25 
    26 package com.oracle.solaris.vp.panel.common.smf;
    26 package com.oracle.solaris.vp.panel.common.smf;
    27 
    27 
    28 import com.oracle.solaris.scf.common.ScfException;
    28 import com.oracle.solaris.scf.common.ScfException;
    47     public SimpleSmfPropertyInfo(HasService info, String group, String name)
    47     public SimpleSmfPropertyInfo(HasService info, String group, String name)
    48     {
    48     {
    49 	this(new SimpleSmfPropertyGroupInfo(info, group), name);
    49 	this(new SimpleSmfPropertyGroupInfo(info, group), name);
    50     }
    50     }
    51 
    51 
    52     public SimpleSmfPropertyInfo(ServiceMXBean service, String group,
    52     public SimpleSmfPropertyInfo(ServiceBean service, String group,
    53 	String name) {
    53 	String name) {
    54 	this(new SimpleHasService(service), group, name);
    54 	this(new SimpleHasService(service), group, name);
    55     }
    55     }
    56 
    56 
    57     //
    57     //
    58     // HasService methods
    58     // HasService methods
    59     //
    59     //
    60 
    60 
    61     @Override
    61     @Override
    62     public ServiceMXBean getService() {
    62     public ServiceBean getService() {
    63 	return info.getService();
    63 	return info.getService();
    64     }
    64     }
    65 
    65 
    66     //
    66     //
    67     // SmfPropertyGroupInfo methods
    67     // SmfPropertyGroupInfo methods