Juni 29th, 2006

Serverkonfiguration im JBoss

Posted by frank in Java, J2EE

Im MBean “jboss.system:service=ServerConfig” ist die Serverkonfiguration vom JBoss einsehbar. Darauf hat man auch ganz leicht Zugriff im Java selbst:

ServerConfig config = ServerConfigLocator.locate();

Das ServerConfig-Interface bietet einige sehr interessante Informationen an. Darunter z.B. das Serververzeichnis (jboss_home/server/default), temporäre Verzeichnis (jboss_home/server/default/tmp), etc.

No Responses to ' Serverkonfiguration im JBoss '

Subscribe to comments with RSS or TrackBack to ' Serverkonfiguration im JBoss '.

Leave a reply

:mrgreen: :neutral: :twisted: :shock: :smile: :???: :cool: :evil: :grin: :oops: :razz: :roll: :wink: :cry: :eek: :lol: :mad: :sad: