Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.diagnostics.descriptor
Interface WLDFHarvestedTypeBean

All Superinterfaces:
WLDFBean

public interface WLDFHarvestedTypeBean
extends WLDFBean

Defines the set of types (beans) that are harvested. The WLDF framework allows the harvesting of all designated server-local Weblogic Server runtime MBeans, and most customer MBeans that are registered in the local server's runtime MBean server. Configuration MBeans cannot be harvested.

Since:
9.0.0.0

Method Summary
abstract  String[] getHarvestedAttributes()
          The harvested attributes for this type.
abstract  String[] getHarvestedInstances()
          The harvested instances of this type.
abstract  String getName()
          The type name.
abstract  String getNamespace()
          The namespace for the harvested type definition.
abstract  boolean isEnabled()
          Specifies whether this type is enabled.
abstract  boolean isKnownType()
          Specifies whether this type is known at startup.
abstract  void setEnabled(boolean enabled)
          Sets the value of the Enabled attribute.
abstract  void setHarvestedAttributes(String[] attributes)
          Sets the value of the harvestedAttributes attribute.
abstract  void setHarvestedInstances(String[] instances)
          Sets the value of the HarvestedInstances attribute.
abstract  void setKnownType(boolean isKnownType)
          Sets the value of the KnownType attribute.
abstract  void setName(String name)
          Sets the value of the Name attribute.
abstract  void setNamespace(String namespace)
          Sets the namespace for the harvested type definition.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId

 

Method Detail

getName

String getName()

The type name. For WebLogic Server runtime MBeans, the type name is the fully qualified name of the defining interface. For customer MBeans, the type name is the fully qualified MBean implementation class.

Specified by:
getName in interface WLDFBean

setName

void setName(String name)

Sets the value of the Name attribute.

See Also:
WLDFHarvestedTypeBean.getName()

isEnabled

boolean isEnabled()

Specifies whether this type is enabled. Note that enabling a type will have no effect unless the Harvester component is also enabled.

A true value means that this type is harvested. A false value indicates that that this type is not harvested.


setEnabled

void setEnabled(boolean enabled)

Sets the value of the Enabled attribute.

Parameters:
enabled - The enabled state of the Harvester type.
See Also:
WLDFHarvestedTypeBean.isEnabled()

isKnownType

boolean isKnownType()

Specifies whether this type is known at startup. Normally, if a type is not available, the Harvester will keep looking for it. If a type is designated as "known", the Harvester issues a validation fault if the type cannot be immediately resolved.

A true value means that this type is known. A false value indicates that this type may not be known.

This flag is useful for WebLogic Server types, where the type information is always available. In this case, setting the flag to true results in earlier detection and reporting of problems.

This flag is optional, but is recommended for WebLogic Server types.


setKnownType

void setKnownType(boolean isKnownType)

Sets the value of the KnownType attribute.

Parameters:
isKnownType - Whether or not this is a known server type.
See Also:
WLDFHarvestedTypeBean.isKnownType()

getHarvestedAttributes

String[] getHarvestedAttributes()

The harvested attributes for this type. If a list of attributes is provided, only those attributes are harvested; otherwise all harvestable attributes are harvested.

Returns:
the harvested attributes for this type

setHarvestedAttributes

void setHarvestedAttributes(String[] attributes)

Sets the value of the harvestedAttributes attribute.

Parameters:
attributes - the new set of harvested attributes for this type
Throws:
InvalidAttributeValueException
See Also:
WLDFHarvestedTypeBean.getHarvestedAttributes()

getHarvestedInstances

String[] getHarvestedInstances()

The harvested instances of this type.

The configuration of a type can optionally provide a set of identifiers for specific instances. If this list is provided, only the provided instances are harvested; otherwise all instances of the type are harvested.

The identifier for an instance must be a valid JMX ObjectName or an ObjectName pattern.

Returns:
the harvested instances for this type

setHarvestedInstances

void setHarvestedInstances(String[] instances)

Sets the value of the HarvestedInstances attribute.

Parameters:
instances - the new set of harvested instances for this type
Throws:
InvalidAttributeValueException
See Also:
WLDFHarvestedTypeBean.getHarvestedInstances()

getNamespace

String getNamespace()

The namespace for the harvested type definition.

Returns:
The identifier for the namespace for this type

setNamespace

void setNamespace(String namespace)

Sets the namespace for the harvested type definition.

Parameters:
namespace - The target namespace of the harvested type definition
See Also:
WLDFHarvestedTypeBean.getNamespace()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09