Interface Mbean
-
- All Superinterfaces:
ConfigBeanProxy
,Named
,PropertyBag
public interface Mbean extends ConfigBeanProxy, Named, PropertyBag
Note on the Name of the MBean : It is a String that represents the name of the MBean. It is required that the name is valid to represent a "value" of a property in the property-list of MBean ObjectName. The name must be specified and is a primary key for an MBean. An invalid name implies failure of operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
PropertyBag.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Gets the value of the description property.String
getEnabled()
Gets the value of the enabled property.@NotNull String
getImplClassName()
Gets the value of the implClassName property.String
getObjectName()
Gets the value of the objectName property.String
getObjectType()
Gets the value of the objectType property.List<Property>
getProperty()
Properties as perPropertyBag
void
setDescription(String value)
Sets the value of the description property.void
setEnabled(String value)
Sets the value of the enabled property.void
setImplClassName(String value)
Sets the value of the implClassName property.void
setObjectName(String value)
Sets the value of the objectName property.void
setObjectType(String value)
Sets the value of the objectType property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
Method Detail
-
getObjectType
String getObjectType()
Gets the value of the objectType property. A String representing whether it is a user-defined MBean or System MBean.- Returns:
- possible object is
String
-
setObjectType
void setObjectType(String value) throws PropertyVetoException
Sets the value of the objectType property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getImplClassName
@NotNull @NotNull String getImplClassName()
Gets the value of the implClassName property. A String that represents fully qualified class name of MBean implementation. This is read-only.- Returns:
- possible object is
String
-
setImplClassName
void setImplClassName(String value) throws PropertyVetoException
Sets the value of the implClassName property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getObjectName
String getObjectName()
Gets the value of the objectName property. A String that represents a system-generated Object Name for this MBean.- Returns:
- possible object is
String
-
setObjectName
void setObjectName(String value) throws PropertyVetoException
Sets the value of the objectName property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag
- Specified by:
getProperty
in interfacePropertyBag
- Returns:
-
-