Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.logging.log4jconfig
Class ConfigurationType.Logger

java.lang.Object
  extended by oracle.axia.config.beans.logging.log4jconfig.ConfigurationType.Logger

All Implemented Interfaces:
ConfigurationTypeMBean.LoggerMBean, ConfigurationTypeReadOnlyMBean.LoggerReadOnlyMBean
Enclosing class:
ConfigurationType

public static class ConfigurationType.Logger
extends java.lang.Object
implements ConfigurationTypeMBean.LoggerMBean

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="level" type="{http://jakarta.apache.org/log4j/}levelType" minOccurs="0"/>
         <element name="appender_ref" type="{http://jakarta.apache.org/log4j/}appender-refType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="additivity" default="true">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="true"/>
             <enumeration value="false"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.lang.String additivity
           
protected  java.util.List<AppenderRefType> appenderRef
           
protected  LevelType level
           
protected  java.lang.String name
           

 

Constructor Summary
ConfigurationType.Logger()
          Default Constructor
ConfigurationType.Logger(LevelType level, java.util.List<AppenderRefType> appenderRef, java.lang.String name, java.lang.String additivity)
           

 

Method Summary
 void addAppenderRef()
          Add a new element named appenderRef
 void addLevel()
          Add a new element named level
 java.lang.String getAdditivity()
          Gets the value of the additivity property.
 java.util.List<AppenderRefType> getAppenderRef()
          Gets the value of the appenderRef property.
 java.util.List<AppenderRefTypeMBean> getAppenderRefMBean()
          Get the list of the AppenderRefType element
 LevelType getLevel()
          Gets the value of the level property.
 LevelTypeMBean getLevelMBean()
          Get the value of the LevelType element
 java.lang.String getName()
          Gets the value of the name property.
 void removeAppenderRef(int index)
          Remove an element named appenderRef by the index
 void removeLevel()
          Remove an element named level
 void setAdditivity(java.lang.String value)
          Sets the value of the additivity property.
 void setLevel(LevelType value)
          Sets the value of the level property.
 void setLevelMBean(LevelTypeMBean val)
          Set the value of the LevelType element
 void setName(java.lang.String value)
          Sets the value of the name property.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

level

protected LevelType level

appenderRef

protected java.util.List<AppenderRefType> appenderRef

name

protected java.lang.String name

additivity

protected java.lang.String additivity

Constructor Detail

ConfigurationType.Logger

public ConfigurationType.Logger()
Default Constructor

ConfigurationType.Logger

public ConfigurationType.Logger(LevelType level,
                                java.util.List<AppenderRefType> appenderRef,
                                java.lang.String name,
                                java.lang.String additivity)

Method Detail

getLevel

public LevelType getLevel()
Gets the value of the level property.
Returns:
possible object is LevelType

setLevel

public void setLevel(LevelType value)
Sets the value of the level property.
Parameters:
value - allowed object is LevelType

getAppenderRef

public java.util.List<AppenderRefType> getAppenderRef()
Gets the value of the appenderRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the appenderRef property.

For example, to add a new item, do as follows:

    getAppenderRef().add(newItem);
 

Objects of the following type(s) are allowed in the list AppenderRefType


getName

public java.lang.String getName()
Gets the value of the name property.
Specified by:
getName in interface ConfigurationTypeReadOnlyMBean.LoggerReadOnlyMBean
Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.
Specified by:
setName in interface ConfigurationTypeMBean.LoggerMBean
Parameters:
value - allowed object is String

getAdditivity

public java.lang.String getAdditivity()
Gets the value of the additivity property.
Specified by:
getAdditivity in interface ConfigurationTypeReadOnlyMBean.LoggerReadOnlyMBean
Returns:
possible object is String

setAdditivity

public void setAdditivity(java.lang.String value)
Sets the value of the additivity property.
Specified by:
setAdditivity in interface ConfigurationTypeMBean.LoggerMBean
Parameters:
value - allowed object is String

addLevel

public void addLevel()
Add a new element named level
Specified by:
addLevel in interface ConfigurationTypeMBean.LoggerMBean

removeLevel

public void removeLevel()
Remove an element named level
Specified by:
removeLevel in interface ConfigurationTypeMBean.LoggerMBean

addAppenderRef

public void addAppenderRef()
Add a new element named appenderRef
Specified by:
addAppenderRef in interface ConfigurationTypeMBean.LoggerMBean

removeAppenderRef

public void removeAppenderRef(int index)
Remove an element named appenderRef by the index
Specified by:
removeAppenderRef in interface ConfigurationTypeMBean.LoggerMBean
Parameters:
index - The index of removing elements

getLevelMBean

public LevelTypeMBean getLevelMBean()
Get the value of the LevelType element
Specified by:
getLevelMBean in interface ConfigurationTypeReadOnlyMBean.LoggerReadOnlyMBean

setLevelMBean

public void setLevelMBean(LevelTypeMBean val)
Set the value of the LevelType element
Specified by:
setLevelMBean in interface ConfigurationTypeMBean.LoggerMBean

getAppenderRefMBean

public java.util.List<AppenderRefTypeMBean> getAppenderRefMBean()
Get the list of the AppenderRefType element
Specified by:
getAppenderRefMBean in interface ConfigurationTypeReadOnlyMBean.LoggerReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.