In one embodiment, using the first opcode in the transition frame includes using the first opcode to determine that the transition frame is associated with the static initializer.
Selon une forme d'exécution, l'utilisation du premier code opération dans la trame de transition comprend l'utilisation du premier code opération en vue de déterminer que la trame de transition est associée avec l'initialiseur statique.
The preloader is arranged to determine whether a bytecode makes an active reference to a class which requires an execution of a static initializer, and is also arranged to determine if the class has a superclass which requires the execution of the static initializer.
Le préchargeur est conçu pour déterminer si un code intermédiaire se réfère activement à une classe nécessitant l'exécution d'un initialisateur statique et, également, pour déterminer si cette classe possède une superclasse nécessitant l'exécution de l'initialisateur statique.
Based on the determination, the static initializer of Java-type code is invoked, and it loads (13) the appropriate language text from a markup language document, preferably an XML document.
Selon le choix effectué, l'initialiseur statique d'un code de type Java est invoqué, et il charge (13) le texte en langage approprié à partir d'un document en langage de balisage, de préférence un document XML.
Make sure you watch the Tomcat log to see Hibernate initialize when the first request hits your servlet (the static initializer in HibernateUtil is called) and to get the detailed output if any exceptions occurs.
Assurez vous de consulter les traces Tomcat pour observer l'initialisation d'Hibernate à la première requête touchant votre servlet (l'initialisation statique dans HibernateUtil est invoquée) et pour vérifier qu'aucune exception ne survienne.
In another embodiment, the method further includes causing the static initializer to run, wherein the static initializer using a second opcode, and resuming execution at the second opcode after the static initializer has run.
Selon une autre forme d'exécution, le procédé met en marche l'initialiseur statique, ce dernier utilisant un second code opération, et reprend l'exécution au second code opération après que l'initialiseur statique a été mis en marche.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.