Add a new attribute to the set of attributes for this MBean.
Add a new attribute name to the set of names accepted by this filter.
Add an attribute change notification event listener to this MBean.
Add a new constructor to the set of constructors for this MBean.
Add a new field to the fields associated with the
Descriptor that will be created from this metadata.
Add a new field to the fields associated with the
Descriptor that will be created from this metadata.
Add the name/value fields that have been stored into the
specified Descriptor
instance.
add elements from the classpath cp to a Vector
jars as file URLs (We use Vector for JDK 1.1 compat).
Add a new bean metadata to the set of beans known to this registry.
Add a new notification to the set of notifications for this MBean.
Add a notification event listener to this MBean.
Add a notification event listener to this MBean.
Add a new notification type to the set managed by an MBean.
Add a new operation to the set of operations for this MBean.
Add a new parameter to the set of parameters for this constructor.
Add a new parameter to the set of arguments for this operation.
Add all the jar files in a dir to the classpath,
represented as a Vector of URLs.
Arg - class org.apache.commons.modeler.ant.
Arg args - field in class org.apache.commons.modeler.ant.
MLETTask Notification broadcaster for attribute changes.
Internal configuration information for an Attribute
descriptor.
Reverse of Introspector.decapitalize
Adds classpath entries from a vector of URL's to the
"tc_path_add" System property.
Clear all accepted names from this filter, so that it will accept
all attribute names.
code - field in class org.apache.commons.modeler.ant.
MLETTask Internal configuration information for a Constructor
descriptor.
EXPERIMENTAL Convert a string to object, based on type.
Create and return a ModelMBeanAttributeInfo
object that
corresponds to the attribute described by this instance.
Create and return a ModelMBeanConstructorInfo
object that
corresponds to the attribute described by this instance.
Create and return a default ModelMBeanInfo
object.
XXX Find if the 'className' is the name of the MBean or
the real class ( I suppose first )
XXX Read (optional) descriptions from a .properties, generated
from source
XXX Deal with constructors
XXX Find if the 'className' is the name of the MBean or
the real class ( I suppose first )
XXX Read (optional) descriptions from a .properties, generated
from source
XXX Deal with constructors
Create and return a ModelMBean
that has been
preconfigured with the ModelMBeanInfo
information
for this managed bean, but is not associated with any particular
managed resource.
Create and return a ModelMBean
that has been
preconfigured with the ModelMBeanInfo
information
for this managed bean, and is associated with the specified
managed object instance.
Create and return a ModelMBeanInfo
object that
describes this entire managed bean.
Create and return a ModelMBeanNotificationInfo
object that
corresponds to the attribute described by this instance.
Create and return a ModelMBeanOperationInfo
object that
corresponds to the attribute described by this instance.
Create and return a MBeanParameterInfo
object that
corresponds to the parameter described by this instance.
Set the type of the mbean.
Convenience base class for AttributeInfo
,
ConstructorInfo
, and OperationInfo
classes
that will be used to collect configuration information for the
ModelMBean
beans exposed for management.
Simple JavaBean representing the contents of a <field>
element in an MBeans descriptor file.
file - field in class org.apache.commons.modeler.
Main Find the first direct child with a given attribute.
Lookup the component descriptor in the package and
in the parent packages.
Find and return the managed bean definition for the specified
bean name, if any; otherwise return null
.
Return the set of bean names for all managed beans known to
this registry.
Return the set of bean names for all managed beans known to
this registry that belong to the specified group.
Special NotificationFilter that allows modeler to optimize its notifications.
Construct a new filter that accepts only the specified notification
names.
Notification broadcaster for general notifications.
Call void getAttribute( String )
Obtain and return the value of a specific attribute of this MBean.
The collection of attributes for this MBean.
Obtain and return the values of several attributes of this MBean.
Get the first direct child with a given type
Get the first element child.
Get the first child's content ( ie it's included TEXT node ).
The fully qualified name of the Java class of the MBean
described by this descriptor.
Construct a URL classpath from files in a directory,
a cpath property, and tools.jar.
Return a URL[] that can be used to construct a class loader
Action id, useable in switches and table indexes
The collection of constructors for this MBean.
Get the trimed text content of a node or null if there is no text
The human-readable description of this feature.
The human-readable description of this MBean.
The display name of this attribute.
The display name of this attribute.
The (optional) ObjectName
domain in which this MBean
should be registered in the MBeanServer.
The field information for this feature.
Return a
List
of the
FieldInfo
objects for
the name/value pairs that should be
added to the Descriptor created from this metadata.
Return all files with a given extension in a dir
The name of the property getter method, if non-standard.
The (optional) group to which this MBean belongs.
Return an int ID for faster access.
Return an int ID for faster access.
The "impact" of this operation, which should be a (case-insensitive)
string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
Get the instance handle of the object against which we execute
all methods in this ModelMBean management interface.
Return the MBeanInfo
object for this MBean.
Return the list of mbeans created by this source.
Return the list of loaded mbeans names
Factory method to create (if necessary) and return our
MBeanServer
instance.
Find the operation info for a method
Create and return the name of a default property getter or setter
method, according to the specified values.
The name of this feature, which must be unique among features in the
same collection.
The name of this managed bean, which must be unique among all
MBeans managed by a particular MBeans server.
Return the set of names that are accepted by this filter.
Return the set of names that are accepted by this filter.
Get the next sibling with the same name and type
Return the next sibling with a given name and type
Return an MBeanNotificationInfo
object describing the
notifications sent by this MBean.
Return an MBeanNotificationInfo
object describing the
notifications sent by this MBean.
The collection of notifications for this MBean.
The set of notification types for this MBean.
The collection of operations for this MBean.
Get a "singelton" registry, or one per thread if setUseContextLoader
was called
Factory method to create (if necessary) and return our
Registry
instance.
The fully qualified Java class name of the return type for this
operation.
The role of this operation ("getter", "setter", "operation", or
"constructor").
Factory method to create (if necessary) and return our
MBeanServer
instance.
The name of the property setter method, if non-standard.
The set of parameters for this constructor.
The set of parameters for this operation.
connect to apache using http, get a list of mbeans.
getType() - method in class org.apache.commons.modeler.ant.
Arg The fully qualified Java class name of this attribute.
The fully qualified name of the Java class of the resource
implementation class described by the managed bean described
by this descriptor.
The fully qualified Java class name of this parameter.
Get the type of an attribute of the object, from the metadata.
Construct a file url from a file, using a base dir
Construct a URLClassLoader.
Guess a product install/home by analyzing the class path.
ids - field in class org.apache.commons.modeler.
Registry The ModelMBeanAttributeInfo
object that corresponds
to this AttributeInfo
instance.
The ModelMBeanInfo
object that controls our activity.
The ModelMBeanConstructorInfo
object that corresponds
to this ConstructorInfo
instance.
The ModelMBeanInfo
object that corresponds
to this ManagedBean
instance.
The ModelMBeanNotificationInfo
object that corresponds
to this NotificationInfo
instance.
The ModelMBeanOperationInfo
object that corresponds
to this OperationInfo
instance.
The MBeanParameterInfo
object that corresponds
to this ParameterInfo
instance.
Call the init method on all mbeans.
Process the methods and extract 'attributes', methods, etc
Set the type of the mbean.
Utils for introspection and reflection
Source: jakarta-tomcat-connector/util
Invoke a operation on a list of mbeans.
Invoke an operation on a set of mbeans.
Invoke a particular method on this MBean, and return any returned
value.
Check if this class conforms to JavaBeans specifications.
Is this a boolean attribute with an "is" getter?
Is the specified
ModelMBeanInfo
instance valid?
IMPLEMENTATION NOTE - This implementation
does not check anything, but this method can be overridden
as required.
Test whether notification enabled for this event.
Test whether notification enabled for this event.
Is this attribute readable by management applications?
Is this attribute writeable by management applications?
Instantiates this MBean instance from data found in the persistent
store.
Load the mbeans from the source.
Load the registry from a cached .ser file.
Load the registry from the XML input found in the specified input
stream.
Load data, returns a list of items.
Load data, returns a list of items.
Load data, returns a list of items.
Load data, returns a list of items.
Load data, returns a list of items.
Load data, returns a list of items.
Lookup the component descriptor in the package and
in the parent packages.
Load an extended mlet file.
Load an extended mlet file.
Discover all META-INF/modeler.xml files in classpath and register
the components
Load the registry from the XML input found in the specified input
stream.
log - static field in class org.apache.commons.modeler.util.
DomUtil log - static field in class org.apache.commons.modeler.ant.
JmxSet log - static field in class org.apache.commons.modeler.
JndiJmx log - static field in class org.apache.commons.modeler.mbeans.
MBeanProxy log - static field in class org.apache.commons.modeler.modules.
MbeansSource log - static field in class org.apache.commons.modeler.ant.
MLETTask log - static field in class org.apache.commons.modeler.ant.
ModelerTask log - static field in class org.apache.commons.modeler.
Registry The Log instance to which we will write our log messages.
log - static field in class org.apache.commons.modeler.ant.
ServiceTask Refresh the proxies, if updateInterval passed
Register a component
XXX make it private
Register a bean by creating a modeler mbean and adding it to the
MBeanServer.
Register a bean by creating a modeler mbean and adding it to the
MBeanServer.
Registry we are associated with
Registry for modeler MBeans.
The registry instance created by our factory method the first time
it is called.
Interface for modeler MBeans.
Load descriptors into registry.
Remove an attribute name from the set of names accepted by this
filter.
Remove an attribute change notification event listener from
this MBean.
Remove an attribute change notification event listener from
this MBean.
Remove an existing bean from the set of beans known to this registry.
Remove a notification event listener from this MBean.
Remove a notification event listener from this MBean.
Remove a notification event listener from this MBean.
Remove a notification event listener from this MBean.
Remove a notification event listener from this MBean.
Remove a notification event listener from this MBean.
Replace ${NAME} with the property value
Replace ${NAME} with the property value
The managed resource this MBean is associated with (if any).
Send an AttributeChangeNotification
to all registered
listeners.
Send an AttributeChangeNotification
to all registered
listeners.
Send a Notification
to all registered listeners as a
jmx.modelmbean.general
notification.
Send the specified notification to all interested listeners.
Send a Notification
which contains the specified string
as a jmx.modelmbean.generic
notification.
The MBeanServer
instance that we will use to register
management beans.
Group a set of mbeans in a service, and perform actions on
it.
Set action to be executed on the mbean collection.
Set the value of a specific attribute of this MBean.
Call void setAttribute( String ,Object )
Set the values of several attributes of this MBean.
If a JNDI context is set, all components
will be registered in the context.
JNDI context where attributes will be stored for persistence
Override the description
property setter.
Override the description
property setter.
Override the description
property setter.
Override the description
property setter.
Override the description
property setter.
JNDI context for component descriptors ( metadata ).
Set a guard object that will prevent access to this registry
by unauthorized components
Set the instance handle of the object against which we will execute
all methods in this ModelMBean management interface.
Set the MBeanServer
to be utilized for our
registered management beans.
Set the type of the mbean.
Initialize the ModelMBeanInfo
associated with this
ModelMBean
.
Override the name
property setter.
Override the name
property setter.
Override the name
property setter.
Override the name
property setter.
Override the name
property setter.
Find a method with the right name
If found, call the method ( if param is int or boolean we'll convert
value to the right type before) - that means you can have setDebug(1).
Perform the action on a previously declared service
Set the MBeanServer
to be utilized for our
registered management beans.
Set the source to be used to load the mbeans
Set or replace the text value
Used if a single component is loaded
Used if a single component is loaded
Used if a single component is loaded
Used if a single component is loaded
Used if a single component is loaded
Used if a single component is loaded
Set the resource type that will be loaded
Allow containers to isolate apps.
Source object used to read this mbean.
Lifecycle method - clean up the registry metadata.
Reset all metadata cached by this registry.
Capture the current state of this MBean instance and write it out
to the persistent store.
Check if this class is one of the supported types.