⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stringmonitoredattributebase.java

📁 java1.6众多例子参考
💻 JAVA
字号:
/* * @(#)StringMonitoredAttributeBase.java	1.4 05/11/17 *  * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.spi.monitoring;import java.util.*;/** * <p> *  * @author Hemanth Puttaswamy * </p> * <p> * A Convenient Abstraction to present String type Monitored Attribute. One * of the examples of StringMonitoredAttribute is the State information. * </p> */public abstract class StringMonitoredAttributeBase     extends MonitoredAttributeBase {  ///////////////////////////////////////  // operations/** * <p> * Constructs StringMonitoredAttribute with the MonitoredAttributeInfo * built with the class type of String. * </p> * <p> *  * @param name of this attribute * </p> * <p> * @param description of this attribute * </p> * <p> * @return a StringMonitoredAttributeBase  * </p> */    public  StringMonitoredAttributeBase(String name, String description) {              super( name );        MonitoredAttributeInfoFactory f =            MonitoringFactories.getMonitoredAttributeInfoFactory();        MonitoredAttributeInfo maInfo = f.createMonitoredAttributeInfo(            description, String.class, false, false );       this.setMonitoredAttributeInfo( maInfo );    } // end StringMonitoredAttributeBase        } // end StringMonitoredAttributeBase

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -