Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.logging.log4jconfig
Class Log4JConfigurationType

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

All Implemented Interfaces:
Log4JConfigurationTypeMBean, Log4JConfigurationTypeReadOnlyMBean

public class Log4JConfigurationType
extends java.lang.Object
implements Log4JConfigurationTypeMBean

Configuration for Log4j.

Java class for Log4jConfigurationType complex type.

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

 <complexType name="Log4jConfigurationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="configuration" type="{http://jakarta.apache.org/log4j/}ConfigurationType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.util.List<ConfigurationType> configuration
           

 

Constructor Summary
Log4JConfigurationType()
          Default Constructor
Log4JConfigurationType(java.util.List<ConfigurationType> configuration)
           

 

Method Summary
 void addConfiguration()
          Add a new element named configuration
 java.util.List<ConfigurationType> getConfiguration()
          Gets the value of the configuration property.
 java.util.List<ConfigurationTypeMBean> getConfigurationMBean()
          Get the list of the ConfigurationType element
 void removeConfiguration(int index)
          Remove an element named configuration by the index

 

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

 

Field Detail

configuration

protected java.util.List<ConfigurationType> configuration

Constructor Detail

Log4JConfigurationType

public Log4JConfigurationType()
Default Constructor

Log4JConfigurationType

public Log4JConfigurationType(java.util.List<ConfigurationType> configuration)

Method Detail

getConfiguration

public java.util.List<ConfigurationType> getConfiguration()
Gets the value of the configuration 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 configuration property.

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

    getConfiguration().add(newItem);
 

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


addConfiguration

public void addConfiguration()
Add a new element named configuration
Specified by:
addConfiguration in interface Log4JConfigurationTypeMBean

removeConfiguration

public void removeConfiguration(int index)
Remove an element named configuration by the index
Specified by:
removeConfiguration in interface Log4JConfigurationTypeMBean
Parameters:
index - The index of removing elements

getConfigurationMBean

public java.util.List<ConfigurationTypeMBean> getConfigurationMBean()
Get the list of the ConfigurationType element
Specified by:
getConfigurationMBean in interface Log4JConfigurationTypeReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.