2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_logging_LogManager__
5 #define __java_util_logging_LogManager__
9 #include <java/lang/Object.h>
16 class PropertyChangeListener
;
17 class PropertyChangeSupport
;
22 class java::util::logging::LogManager
: public ::java::lang::Object
25 public: // actually protected
28 static ::java::util::logging::LogManager
* getLogManager();
30 static ::java::util::logging::LogManager
* makeLogManager();
31 static void initLogManager();
33 virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener
*);
34 virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener
*);
35 virtual jboolean
addLogger(::java::util::logging::Logger
*);
37 ::java::util::logging::Logger
* findAncestor(::java::util::logging::Logger
*);
39 virtual ::java::util::logging::Logger
* getLogger(::java::lang::String
*);
40 virtual ::java::util::Enumeration
* getLoggerNames();
42 virtual void readConfiguration();
43 virtual void readConfiguration(::java::io::InputStream
*);
44 virtual ::java::lang::String
* getProperty(::java::lang::String
*);
45 public: // actually package-private
46 static jint
getIntProperty(::java::lang::String
*, jint
);
47 static jint
getIntPropertyClamped(::java::lang::String
*, jint
, jint
, jint
);
48 static jboolean
getBooleanProperty(::java::lang::String
*, jboolean
);
49 static ::java::util::logging::Level
* getLevelProperty(::java::lang::String
*, ::java::util::logging::Level
*);
50 static ::java::lang::Class
* getClassProperty(::java::lang::String
*, ::java::lang::Class
*);
51 static ::java::lang::Object
* getInstanceProperty(::java::lang::String
*, ::java::lang::Class
*, ::java::lang::Class
*);
53 virtual void checkAccess();
55 static ::java::lang::Object
* createInstance(::java::lang::String
*, ::java::lang::Class
*, ::java::lang::String
*);
56 static void warn(::java::lang::String
*, ::java::lang::String
*, ::java::lang::Throwable
*);
57 static void warn(::java::lang::String
*, ::java::lang::String
*, ::java::lang::String
*);
58 static void warn(::java::lang::String
*, ::java::lang::String
*, ::java::lang::String
*, ::java::lang::Throwable
*);
59 static void warn(::java::lang::String
*, ::java::lang::Throwable
*);
60 static ::java::lang::Class
* locateClass(::java::lang::String
*);
62 static ::java::util::logging::LoggingMXBean
* getLoggingMXBean();
63 static ::java::lang::String
* LOGGING_MXBEAN_NAME
;
65 static ::java::util::logging::LogManager
* logManager
;
66 static ::java::util::logging::LoggingMXBean
* loggingBean
;
67 ::java::util::Map
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) loggers
;
68 ::java::util::Properties
* properties
;
69 ::java::beans::PropertyChangeSupport
* pcs
;
70 static ::java::lang::String
* MANAGER_PROPERTY
;
71 static ::java::lang::String
* CONFIG_PROPERTY
;
72 static ::java::util::logging::LoggingPermission
* controlPermission
;
74 static ::java::lang::Class
class$
;
77 #endif // __java_util_logging_LogManager__