|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.logging.LogFactory
org.apache.commons.logging.impl.LogFactoryImpl
com.rubecula.darwin.domain.helper.LogFactoryNoOp
public class LogFactoryNoOp
This class is necessary to allow the system to run as a (remote) Applet. In
order to run as an insecure applet (i.e. one where no special efforts are
made to deal with security issues while the applet is hosted on a remote
site) you must return the NoOpLog logger. In order to run as a secure applet
with logging (i.e. when which is running locally or where the security
manager issues are resolved, for example by signing the applet), you must
return LogFactory.getLog(clazz).
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.logging.impl.LogFactoryImpl |
|---|
ALLOW_FLAWED_CONTEXT_PROPERTY, ALLOW_FLAWED_DISCOVERY_PROPERTY, ALLOW_FLAWED_HIERARCHY_PROPERTY, attributes, instances, LOG_PROPERTY, LOG_PROPERTY_OLD, logConstructor, logConstructorSignature, logMethod, logMethodSignature |
| Fields inherited from class org.apache.commons.logging.LogFactory |
|---|
DIAGNOSTICS_DEST_PROPERTY, factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, HASHTABLE_IMPLEMENTATION_PROPERTY, nullClassLoaderFactory, PRIORITY_KEY, SERVICE_ID, TCCL_KEY |
| Constructor Summary | |
|---|---|
LogFactoryNoOp()
Public constructor. |
|
| Method Summary | |
|---|---|
org.apache.commons.logging.Log |
getInstance(java.lang.Class clazz)
|
org.apache.commons.logging.Log |
getInstance(java.lang.String name)
|
| Methods inherited from class org.apache.commons.logging.impl.LogFactoryImpl |
|---|
getAttribute, getAttributeNames, getClassLoader, getContextClassLoader, getLogClassName, getLogConstructor, isDiagnosticsEnabled, isJdk13LumberjackAvailable, isJdk14Available, isLog4JAvailable, logDiagnostic, newInstance, release, removeAttribute, setAttribute |
| Methods inherited from class org.apache.commons.logging.LogFactory |
|---|
createFactory, directGetContextClassLoader, getFactory, getLog, getLog, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogFactoryNoOp()
| Method Detail |
|---|
public org.apache.commons.logging.Log getInstance(java.lang.Class clazz)
throws org.apache.commons.logging.LogConfigurationException
getInstance in class org.apache.commons.logging.impl.LogFactoryImplorg.apache.commons.logging.LogConfigurationExceptionLogFactoryImpl.getInstance(java.lang.Class)
public org.apache.commons.logging.Log getInstance(java.lang.String name)
throws org.apache.commons.logging.LogConfigurationException
getInstance in class org.apache.commons.logging.impl.LogFactoryImplNoOpLog logger.
org.apache.commons.logging.LogConfigurationExceptionLogFactoryImpl.getInstance(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||