Java Doc for PortalLogConfiguratorMBean.java in  » Portal » Open-Portal » com » sun » portal » fabric » mbeans » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.fabric.mbeans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.portal.fabric.mbeans.PortalLogConfiguratorMBean

All known Subclasses:   com.sun.portal.fabric.mbeans.PortalLogConfigurator,
PortalLogConfiguratorMBean
public interface PortalLogConfiguratorMBean (Code)


Field Summary
final public static  StringTYPE
    


Method Summary
public  HashtablegetCommonLogDetails(String componentName, String componentID, String instance)
    
public  HashtablegetLogFileNames(String componentName, String componentID, String instance)
    
public  HashtablegetLogRecords(String componentName, String componentID, String instance, Hashtable logViewerInputs)
     Returns a list of log records read from the log files. Each element in the list is a Vector.
public  HashtablegetLoggerDetails(String componentType, String componentID, String instance, String loggerName)
    
public  ListgetSpecificLogDetails(String componentName, String componentID, String instance)
     Returns a list of Hashtable containing the details of the logger.
public  VectorlistPSLoggers(String componentName, String componentID, String instance, Boolean detail)
     List the portal loggers.
public  voidreset(String componentName, String componentID, String instance, String loggerName)
     Resets the level of the logger to that of the root logger.
public  voidsetCommonLogDetails(String componentName, String componentID, String instance, Hashtable values)
    
public  voidsetLevel(String componentName, String componentID, String instance, String loggerName, String level)
     Sets the level for the logger.
public  voidsetSeparateLogFile(String componentName, String componentID, String instance, String loggerName, String level, Boolean printStackTrace, Boolean logInParent)
     Sets a separate file for the logger at the level specified.
public  voidsetSpecificLogDetails(String componentName, String componentID, String instance, List loggersDetails)
    

Field Detail
TYPE
final public static String TYPE(Code)





Method Detail
getCommonLogDetails
public Hashtable getCommonLogDetails(String componentName, String componentID, String instance) throws Exception(Code)
Returns Hashtable containing the details of the logger settings
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Hashtable containing the details of the logger settings
throws:
  Exception -



getLogFileNames
public Hashtable getLogFileNames(String componentName, String componentID, String instance) throws Exception(Code)
Returns the list of logger names that have separate files
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Hashtable containing the list of logger names that have separate files and the level for the logger
throws:
  Exception -



getLogRecords
public Hashtable getLogRecords(String componentName, String componentID, String instance, Hashtable logViewerInputs) throws Exception(Code)
Returns a list of log records read from the log files. Each element in the list is a Vector. Each element in the Vector is a specific data like timestamp, message, name-value pair.
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID
Parameters:
  logViewerInputs - contains the input parameters from the page Hashtable containing list of log records read from the log files and the logfile directory for the logger
throws:
  Exception -



getLoggerDetails
public Hashtable getLoggerDetails(String componentType, String componentID, String instance, String loggerName) throws Exception(Code)
Gets the details of a logger
Parameters:
  componentType - the name of the componentType
Parameters:
  componentID - the ID of the componentType
Parameters:
  instance - the name of the instance
Parameters:
  loggerName - the name of the logger
throws:
  Exception -



getSpecificLogDetails
public List getSpecificLogDetails(String componentName, String componentID, String instance) throws Exception(Code)
Returns a list of Hashtable containing the details of the logger. For each logger there is hashtable.
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID List of Hashtable containing the details of the logger.
throws:
  Exception -



listPSLoggers
public Vector listPSLoggers(String componentName, String componentID, String instance, Boolean detail) throws Exception(Code)
List the portal loggers. The logger names start with "debug."
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID list of logger names.



reset
public void reset(String componentName, String componentID, String instance, String loggerName) throws Exception(Code)
Resets the level of the logger to that of the root logger. All the child logger of the logger inherit the same level. The logging of the output is set back to the that of the root logger's file.
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID
Parameters:
  loggerName - the name of the logger.



setCommonLogDetails
public void setCommonLogDetails(String componentName, String componentID, String instance, Hashtable values) throws Exception(Code)
Sets the details of the logger settings
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID
Parameters:
  values - contains the details of the logger settings
throws:
  Exception -



setLevel
public void setLevel(String componentName, String componentID, String instance, String loggerName, String level) throws Exception(Code)
Sets the level for the logger.
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID
Parameters:
  loggerName - the name of the logger
Parameters:
  level - the level for the logger



setSeparateLogFile
public void setSeparateLogFile(String componentName, String componentID, String instance, String loggerName, String level, Boolean printStackTrace, Boolean logInParent) throws Exception(Code)
Sets a separate file for the logger at the level specified. No stack-trace is logged for the levels INFO and below. The content does not go to the file associated with the parent logger.
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID
Parameters:
  loggerName - the name of the logger
Parameters:
  level - the level for the logger
Parameters:
  printStackTrace - specifies whether the stack trace is to be printed
Parameters:
  logInParent - specifies whether the content has to logged in the parent



setSpecificLogDetails
public void setSpecificLogDetails(String componentName, String componentID, String instance, List loggersDetails) throws Exception(Code)
Sets the details of the logger
Parameters:
  componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy
Parameters:
  componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name
Parameters:
  instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID
Parameters:
  loggersDetails - contains the details of the loggers
throws:
  Exception -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.