|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.objectweb.util.monolog.wrapper.remote.lib.MonologFactoryProxyImpl
| Field Summary |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
MonologFactoryProxyImpl(MonologFactory mf)
|
|
MonologFactoryProxyImpl(MonologFactory mf,
java.lang.String rmiName)
|
|
| Method Summary | |
void |
addHandlerToLogger(java.lang.String handlername,
java.lang.String loggerName)
A TopicalLogger manages a list of Handler instances. |
void |
addTopicToLogger(java.lang.String topic,
java.lang.String loggerName)
This method allows adding a topic to a TopicalLogger. |
int |
compareTo(java.lang.String levelname1,
java.lang.String levelname2)
Compares two levels. |
boolean |
createHandler(java.lang.String hn,
java.lang.String handlertype)
Creates a new handler |
boolean |
defineLevel(java.lang.String name,
int value)
It defines a new Level with a name and an integer value. |
boolean |
defineLevel(java.lang.String name,
java.lang.String value)
It defines a new Level with a name and a string value. |
java.util.Map |
getAllHandlerAttributes()
It retrieves the attributes of all handlers |
java.util.Map |
getHandlerAttributes(java.lang.String handlername)
It retrieves the attributes of an handler |
java.lang.String[] |
getHandlerNames()
It retrieves name of all handler managed by this factory. |
Level |
getLevel(int value)
It retrieves a Level instance which the integer value is equals to the parameter. |
Level |
getLevel(java.lang.String name)
It retrieves a Level instance which the name is equals to the parameter. |
Level[] |
getLevels()
It retrieves all Level instances defined in this manager. |
LoggerInfo |
getLogger(java.lang.String loggername)
Creates a logger if it does not exist. |
LoggerInfo |
getLogger(java.lang.String loggername,
java.lang.String resourceBundleName)
Creates a logger if it does not exist. |
LoggerInfo[] |
getLoggers()
It retrieves a list of all loggers. |
java.util.Properties |
getMonologProperties()
|
java.lang.String |
getResourceBundleName()
Accessors to a resource bundle name associated to a LoggerFactory. |
void |
register(java.net.InetAddress host,
java.lang.String name)
|
void |
register(java.lang.String name)
|
void |
removeAllHandlersFromLogger(java.lang.String loggerName)
A TopicalLogger manages a list of Handler instances. |
boolean |
removeHandler(java.lang.String handlername)
It removes the handler which the name is specified by the parameter |
void |
removeHandlerFromLogger(java.lang.String handlerName,
java.lang.String loggerName)
A TopicalLogger manages a list of Handler instances. |
void |
removeLevel(java.lang.String name)
It removes a Level instance to this manager. |
void |
removeTopicFromLogger(java.lang.String topic,
java.lang.String loggerName)
This method allows removing a topic to a TopicalLogger. |
void |
setAdditivity(boolean a,
java.lang.String loggerName)
It assigns the additivity flag for this logger instance. |
void |
setHandlerAttribute(java.lang.String handlername,
java.lang.String attributeName,
java.lang.String value)
Assignes a value to an handler attribute. |
void |
setResourceBundleName(java.lang.String resourceBundleName)
Accessors to a resource bundle name associated to a LoggerFactory. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MonologFactoryProxyImpl(MonologFactory mf)
throws java.rmi.RemoteException
public MonologFactoryProxyImpl(MonologFactory mf,
java.lang.String rmiName)
throws java.rmi.RemoteException
| Method Detail |
public void register(java.lang.String name)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void register(java.net.InetAddress host,
java.lang.String name)
throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean defineLevel(java.lang.String name,
int value)
throws java.rmi.RemoteException
MonologFactoryProxy
defineLevel in interface MonologFactoryProxyname - is the name of the new levelvalue - is the integer value of the new level
java.rmi.RemoteException
public boolean defineLevel(java.lang.String name,
java.lang.String value)
throws java.rmi.RemoteException
MonologFactoryProxy
defineLevel in interface MonologFactoryProxyname - is the name of the new levelvalue - is the string value of the new level
java.rmi.RemoteException
public void removeLevel(java.lang.String name)
throws java.rmi.RemoteException
MonologFactoryProxy
removeLevel in interface MonologFactoryProxyjava.rmi.RemoteException
public Level getLevel(java.lang.String name)
throws java.rmi.RemoteException
MonologFactoryProxy
getLevel in interface MonologFactoryProxyname - is the name of request Level
java.rmi.RemoteException
public Level getLevel(int value)
throws java.rmi.RemoteException
MonologFactoryProxy
getLevel in interface MonologFactoryProxyvalue - is the integer value of request Level
java.rmi.RemoteException
public Level[] getLevels()
throws java.rmi.RemoteException
MonologFactoryProxy
getLevels in interface MonologFactoryProxyjava.rmi.RemoteException
public int compareTo(java.lang.String levelname1,
java.lang.String levelname2)
throws java.rmi.RemoteException
MonologFactoryProxy
compareTo in interface MonologFactoryProxylevelname1 - is the name of the first levellevelname2 - is the name of the second level
java.rmi.RemoteException
public boolean createHandler(java.lang.String hn,
java.lang.String handlertype)
throws java.rmi.RemoteException
MonologFactoryProxy
createHandler in interface MonologFactoryProxyhn - is the name of the handler to createhandlertype - is the type of the parameter. The possible value are
defined in this interface by the XXX_HANDLER_TYPE constants.
java.rmi.RemoteException
public boolean removeHandler(java.lang.String handlername)
throws java.rmi.RemoteException
MonologFactoryProxy
removeHandler in interface MonologFactoryProxyhandlername - is the name of the handler
java.rmi.RemoteException
public java.lang.String[] getHandlerNames()
throws java.rmi.RemoteException
MonologFactoryProxy
getHandlerNames in interface MonologFactoryProxyjava.rmi.RemoteException
public java.util.Map getHandlerAttributes(java.lang.String handlername)
throws java.rmi.RemoteException
MonologFactoryProxy
getHandlerAttributes in interface MonologFactoryProxyhandlername - is the name of the handler
java.rmi.RemoteException
public java.util.Map getAllHandlerAttributes()
throws java.rmi.RemoteException
MonologFactoryProxy
getAllHandlerAttributes in interface MonologFactoryProxyjava.rmi.RemoteException
public void setHandlerAttribute(java.lang.String handlername,
java.lang.String attributeName,
java.lang.String value)
throws java.rmi.RemoteException
MonologFactoryProxy
setHandlerAttribute in interface MonologFactoryProxyhandlername - is the name of the handlerattributeName - is the name of the attributevalue - is the new value of the attribute
java.rmi.RemoteException
public LoggerInfo getLogger(java.lang.String loggername)
throws java.rmi.RemoteException
MonologFactoryProxy
getLogger in interface MonologFactoryProxyloggername - is the name of the logger
java.rmi.RemoteException
public LoggerInfo getLogger(java.lang.String loggername,
java.lang.String resourceBundleName)
throws java.rmi.RemoteException
MonologFactoryProxy
getLogger in interface MonologFactoryProxyresourceBundleName - allows specifying the name of a
resource bundle in order to internationalise the logging.
java.rmi.RemoteException
public java.lang.String getResourceBundleName()
throws java.rmi.RemoteException
MonologFactoryProxy
getResourceBundleName in interface MonologFactoryProxyjava.rmi.RemoteException
public void setResourceBundleName(java.lang.String resourceBundleName)
throws java.rmi.RemoteException
MonologFactoryProxy
setResourceBundleName in interface MonologFactoryProxyjava.rmi.RemoteException
public LoggerInfo[] getLoggers()
throws java.rmi.RemoteException
MonologFactoryProxy
getLoggers in interface MonologFactoryProxyjava.rmi.RemoteException
public void addHandlerToLogger(java.lang.String handlername,
java.lang.String loggerName)
throws java.rmi.RemoteException
MonologFactoryProxy
addHandlerToLogger in interface MonologFactoryProxyjava.rmi.RemoteException
public void removeHandlerFromLogger(java.lang.String handlerName,
java.lang.String loggerName)
throws java.rmi.RemoteException
MonologFactoryProxy
removeHandlerFromLogger in interface MonologFactoryProxyjava.rmi.RemoteException
public void removeAllHandlersFromLogger(java.lang.String loggerName)
throws java.rmi.RemoteException
MonologFactoryProxy
removeAllHandlersFromLogger in interface MonologFactoryProxyjava.rmi.RemoteException
public void setAdditivity(boolean a,
java.lang.String loggerName)
throws java.rmi.RemoteException
MonologFactoryProxy
setAdditivity in interface MonologFactoryProxyjava.rmi.RemoteException
public void addTopicToLogger(java.lang.String topic,
java.lang.String loggerName)
throws java.rmi.RemoteException
MonologFactoryProxy
addTopicToLogger in interface MonologFactoryProxyjava.rmi.RemoteException
public void removeTopicFromLogger(java.lang.String topic,
java.lang.String loggerName)
throws java.rmi.RemoteException
MonologFactoryProxy
removeTopicFromLogger in interface MonologFactoryProxyjava.rmi.RemoteException
public java.util.Properties getMonologProperties()
throws java.rmi.RemoteException
getMonologProperties in interface MonologFactoryProxyjava.rmi.RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||