org.sakaiproject.component.osid.logging
Class LoggingManager

java.lang.Object
  extended byorg.sakaiproject.component.osid.logging.LoggingManager
All Implemented Interfaces:
org.osid.logging.LoggingManager, org.osid.OsidManager, Serializable

public class LoggingManager
extends Object
implements org.osid.logging.LoggingManager

$URL: $ $Id: $ Copyright (c) 2003, 2004, 2005 The Regents of the University of Michigan, Trustees of Indiana University, Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation Licensed under the Educational Community License Version 1.0 (the "License"); By obtaining, using and/or copying this Original Work, you agree that you have read, understand, and will comply with the terms and conditions of the Educational Community License. You may obtain a copy of the License at: http://cvs.sakaiproject.org/licenses/license_1_0.html THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

See Also:
Serialized Form

Constructor Summary
LoggingManager()
           
 
Method Summary
 void assignConfiguration(Properties configuration)
           
 void assignOsidContext(org.osid.OsidContext context)
           
 org.osid.logging.WritableLog createLog(String logName)
           
 void deleteLog(String logName)
           
 org.osid.shared.TypeIterator getFormatTypes()
           
 org.osid.logging.ReadableLog getLogForReading(String logName)
           
 org.osid.logging.WritableLog getLogForWriting(String logName)
           
 org.osid.shared.StringIterator getLogNamesForReading()
           
 org.osid.shared.StringIterator getLogNamesForWriting()
           
 org.osid.OsidContext getOsidContext()
           
 org.osid.shared.TypeIterator getPriorityTypes()
           
 void initialize()
           
 void osidVersion_2_0()
           
 boolean supportsReading()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingManager

public LoggingManager()
Method Detail

getOsidContext

public org.osid.OsidContext getOsidContext()
                                    throws org.osid.logging.LoggingException
Specified by:
getOsidContext in interface org.osid.OsidManager
Throws:
org.osid.logging.LoggingException

assignOsidContext

public void assignOsidContext(org.osid.OsidContext context)
                       throws org.osid.logging.LoggingException
Specified by:
assignOsidContext in interface org.osid.OsidManager
Throws:
org.osid.logging.LoggingException

assignConfiguration

public void assignConfiguration(Properties configuration)
                         throws org.osid.logging.LoggingException
Specified by:
assignConfiguration in interface org.osid.OsidManager
Throws:
org.osid.logging.LoggingException

initialize

public void initialize()
                throws org.osid.logging.LoggingException
Throws:
org.osid.logging.LoggingException

getFormatTypes

public org.osid.shared.TypeIterator getFormatTypes()
                                            throws org.osid.logging.LoggingException
Specified by:
getFormatTypes in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

getPriorityTypes

public org.osid.shared.TypeIterator getPriorityTypes()
                                              throws org.osid.logging.LoggingException
Specified by:
getPriorityTypes in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

getLogNamesForWriting

public org.osid.shared.StringIterator getLogNamesForWriting()
                                                     throws org.osid.logging.LoggingException
Specified by:
getLogNamesForWriting in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

createLog

public org.osid.logging.WritableLog createLog(String logName)
                                       throws org.osid.logging.LoggingException
Specified by:
createLog in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

deleteLog

public void deleteLog(String logName)
               throws org.osid.logging.LoggingException
Specified by:
deleteLog in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

getLogForWriting

public org.osid.logging.WritableLog getLogForWriting(String logName)
                                              throws org.osid.logging.LoggingException
Specified by:
getLogForWriting in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

getLogNamesForReading

public org.osid.shared.StringIterator getLogNamesForReading()
                                                     throws org.osid.logging.LoggingException
Specified by:
getLogNamesForReading in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

getLogForReading

public org.osid.logging.ReadableLog getLogForReading(String logName)
                                              throws org.osid.logging.LoggingException
Specified by:
getLogForReading in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

supportsReading

public boolean supportsReading()
                        throws org.osid.logging.LoggingException
Specified by:
supportsReading in interface org.osid.logging.LoggingManager
Throws:
org.osid.logging.LoggingException

osidVersion_2_0

public void osidVersion_2_0()
                     throws org.osid.logging.LoggingException
Specified by:
osidVersion_2_0 in interface org.osid.OsidManager
Throws:
org.osid.logging.LoggingException