com.sun.enterprise.config.serverbeans
Interface Mbean

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, Named, org.jvnet.hk2.config.types.PropertyBag

public interface Mbean
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, Named, org.jvnet.hk2.config.types.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
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getEnabled()
          Gets the value of the enabled property.
 java.lang.String getImplClassName()
          Gets the value of the implClassName property.
 java.lang.String getObjectName()
          Gets the value of the objectName property.
 java.lang.String getObjectType()
          Gets the value of the objectType property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEnabled(java.lang.String value)
          Sets the value of the enabled property.
 void setImplClassName(java.lang.String value)
          Sets the value of the implClassName property.
 void setObjectName(java.lang.String value)
          Sets the value of the objectName property.
 void setObjectType(java.lang.String value)
          Sets the value of the objectType property.
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.glassfish.api.admin.config.Named
getName, setName
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getObjectType

java.lang.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(java.lang.String value)
                   throws java.beans.PropertyVetoException
Sets the value of the objectType property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getImplClassName

@NotNull
java.lang.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(java.lang.String value)
                      throws java.beans.PropertyVetoException
Sets the value of the implClassName property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getObjectName

java.lang.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(java.lang.String value)
                   throws java.beans.PropertyVetoException
Sets the value of the objectName property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getEnabled

java.lang.String getEnabled()
Gets the value of the enabled property.

Returns:
possible object is String

setEnabled

void setEnabled(java.lang.String value)
                throws java.beans.PropertyVetoException
Sets the value of the enabled property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getDescription

java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(java.lang.String value)
                    throws java.beans.PropertyVetoException
Sets the value of the description property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.