1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_util_logging_LogManager__ 5 #define __java_util_logging_LogManager__ 6 7 #pragma interface 8 9 #include <java/lang/Object.h> 10 extern "Java" 11 { 12 namespace java 13 { 14 namespace beans 15 { 16 class PropertyChangeListener; 17 class PropertyChangeSupport; 18 } 19 } 20 } 21 22 class java::util::logging::LogManager : public ::java::lang::Object 23 { 24 25 public: // actually protected 26 LogManager(); 27 public: 28 static ::java::util::logging::LogManager * getLogManager(); 29 private: 30 static ::java::util::logging::LogManager * makeLogManager(); 31 static void initLogManager(); 32 public: 33 virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *); 34 virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *); 35 virtual jboolean addLogger(::java::util::logging::Logger *); 36 private: 37 ::java::util::logging::Logger * findAncestor(::java::util::logging::Logger *); 38 public: 39 virtual ::java::util::logging::Logger * getLogger(::java::lang::String *); 40 virtual ::java::util::Enumeration * getLoggerNames(); 41 virtual void reset(); 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 *); 52 public: 53 virtual void checkAccess(); 54 private: 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 *); 61 public: 62 static ::java::util::logging::LoggingMXBean * getLoggingMXBean(); 63 static ::java::lang::String * LOGGING_MXBEAN_NAME; 64 private: 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; 73 public: 74 static ::java::lang::Class class$; 75 }; 76 77 #endif // __java_util_logging_LogManager__ 78