|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Purpose: Represents the factory used to create instances of LogService, which will typically be a singleton, per JVM.
Copyright (c) 2001 Massachusetts Institute of Technology
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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.
$Source: /cvs/oki/org/okiproject/serviceapi/doc/logging/org/okiproject/serviceapi/logging/LogServiceFactory.html,v $
Method Summary | |
void |
destroy(org.okiproject.serviceapi.common.Agent who)
Lifecycle method. |
void |
destroy(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname)
Lifecycle method. |
LogServiceFactory |
getFactory(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname,
java.util.Properties properties)
Gets a LogServiceFactory (including a default LogServiceFactory), with properties described via an associated properties hash. |
LogServiceFactory |
getFactory(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname,
java.lang.String configFileName)
Gets a LogServiceFactory (including a default LogServiceFactory), with properties described via an associated Properties file, XML file, or PropertyResourceBundle |
LogService |
getLogService(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname,
java.util.Properties properties)
Gets a specific LogService configured according to properties described by an associated properties hashtable. |
LogService |
getLogService(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname,
java.lang.String configFileName)
Gets a specific LogService configured according to properties described by an associated configuration file. |
void |
init(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname,
java.util.Properties properties)
Lifecycle method. |
void |
init(org.okiproject.serviceapi.common.Agent who,
java.lang.String lname,
java.lang.String configFileName)
Lifecycle method. |
Method Detail |
public void init(org.okiproject.serviceapi.common.Agent who, java.lang.String lname, java.util.Properties properties) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerproperties
- Represents a properties associative array.LogServiceFactoryException
- if some error occurs while configuring
the logging subsystem.public void init(org.okiproject.serviceapi.common.Agent who, java.lang.String lname, java.lang.String configFileName) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerconfigFileName
- Represents a config file (possibly XML).LogServiceFactoryException
- if some error occurs while configuring
the logging subsystem.public LogServiceFactory getFactory(org.okiproject.serviceapi.common.Agent who, java.lang.String lname, java.lang.String configFileName) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerconfigFileName
- Represents a config file (possibly XML).LogServiceFactoryException
- if some error occurs while configuring
the logging subsystem.public LogServiceFactory getFactory(org.okiproject.serviceapi.common.Agent who, java.lang.String lname, java.util.Properties properties) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerproperties
- Represents a properties associative array.LogServiceFactoryException
- if some error occurs while configuring
the logging factory.public LogService getLogService(org.okiproject.serviceapi.common.Agent who, java.lang.String lname, java.lang.String configFileName) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerconfigFileName
- Represents a config file (possibly XML).LogServiceFactoryException
- if some error occurs while configuring
the LogService.public LogService getLogService(org.okiproject.serviceapi.common.Agent who, java.lang.String lname, java.util.Properties properties) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerproperties
- Represents an associated hash.LogServiceFactoryException
- if some error occurs while configuring
the LogService.public void destroy(org.okiproject.serviceapi.common.Agent who) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.LogServiceFactoryException
- if some error occurs while quiescing
the logging subsystem.public void destroy(org.okiproject.serviceapi.common.Agent who, java.lang.String lname) throws LogServiceFactoryException
who
- Represents the Agent state for authn/authz purposes.lname
- Represents a logical name or monikerLogServiceFactoryException
- if some error occurs while quiescing
the logging subsystem.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |