|
Hibernate example source code file (events.po)
This example Hibernate source code file (events.po) is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.
The Hibernate events.po source code
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-02-04T04:51:22\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Tag: title
#, no-c-format
msgid "Interceptors and events"
msgstr "ì¸í„°ì…‰í„°ë“¤ê³¼ ì´ë²¤íŠ¸ë“¤"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"It is useful for the application to react to certain events that occur "
"inside Hibernate. This allows for the implementation of generic "
"functionality and the extension of Hibernate functionality."
msgstr ""
"어플리케ì´ì…˜ì´ Hibernate 내부ì—ì„œ ë°œìƒí•˜ëŠ” ì–´ë–¤ ì´ë²¤íŠ¸ë“¤ì— 대해 ë°˜ì‘하는 것"
"ì— í”히 ìœ ìš©í•˜ë‹¤. ì´ê²ƒì€ ì–´ë–¤ ì¢…ë¥˜ì˜ ì¼ë°˜ì ì¸ ê¸°ëŠ¥, ê·¸ë¦¬ê³ Hibernateì˜ í™•ìž¥ "
"ê¸°ëŠ¥ì˜ êµ¬í˜„ì„ í—ˆìš©í•´ì¤€ë‹¤."
#. Tag: title
#, no-c-format
msgid "Interceptors"
msgstr "ì¸í„°ì…‰í„°ë“¤"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The <literal>Interceptor interface provides callbacks from the "
"session to the application, allowing the application to inspect and/or "
"manipulate properties of a persistent object before it is saved, updated, "
"deleted or loaded. One possible use for this is to track auditing "
"information. For example, the following <literal>Interceptor "
"automatically sets the <literal>createTimestamp when an "
"<literal>Auditable is created and updates the "
"<literal>lastUpdateTimestamp property when an Auditable ì¸í„°íŽ˜ì´ìŠ¤ëŠ” ì˜ì† ê°ì²´ê°€ ì €ìž¥ë˜ê³ , ì—…ë°ì´íŠ¸ë˜"
"ê³ , ì‚ì œë˜ê±°ë‚˜ 로드ë˜ê¸° ì „ì— ì˜ì† ê°ì²´ì˜ 프로í¼í‹°ë“¤ì„ ì¡°ì‚¬í•˜ê³ /하거나 처리하"
"는 ê²ƒì„ ì–´í”Œë¦¬ì¼€ì´ì…˜ì— í—ˆìš©í•´ì¤Œìœ¼ë¡œì¨ ì„¸ì…˜ìœ¼ë¡œë¶€í„° 어플리케ì´ì…˜ìœ¼ë¡œì˜ 콜백들"
"ì„ ì œê³µí•œë‹¤. ì´ê²ƒì— 대한 í•œ 가지 가능한 ì‚¬ìš©ì€ ê°ì‚¬ ì •ë³´ë¥¼ 추ì 하는 것ì´ë‹¤. "
"예를 들어, ë‹¤ìŒ <literal>Interceptor는 Auditable"
"ì´ ìƒì„±ë ë•Œ <literal>createTimestamp를 ìžë™ì 으로 ì„¤ì •í•˜ê³ "
"<literal>Auditableì´ ì—…ë°ì´íŠ¸ë ë•Œ lastUpdateTimestamp directly or extend "
"<literal>EmptyInterceptor."
msgstr ""
"ë‹¹ì‹ ì€ <literal>Interceptor를 ì§ì ‘ 구현해야 하거나 (ë” ì¢‹ê²ŒëŠ”) "
"<literal>EmptyInterceptor를 확장(extend)해야 한다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"There are two kinds of inteceptors: <literal>Session-scoped and "
"<literal>SessionFactory-scoped."
msgstr ""
"ì¸í„°ì…‰í„°ë“¤ì€ ë‹¤ìŒ ë‘ ê°œì˜ íŠ¹ì§•ë“¤ë¡œ 나타난다: <literal>Session-ì˜ì—"
"í™” ê·¸ë¦¬ê³ <literal>SessionFactory-ì˜ì—í™”."
#. Tag: para
#, no-c-format
msgid ""
"A <literal>Session-scoped interceptor is specified when a session "
"is opened using one of the overloaded SessionFactory.openSession() methods "
"accepting an <literal>Interceptor."
msgstr ""
"<literal>Session-ì˜ì—ì˜ ì¸í„°ì…‰í„°ëŠ” ì„¸ì…˜ì´ í•˜ë‚˜ì˜ "
"<literal>Interceptor를 수용하는 ì˜¤ë²„ë¡œë“œëœ SessionFactory."
"openSession() 메소드들 중 하나를 사용하여 열릴 ë•Œ ì§€ì •ëœë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"A <literal>SessionFactory-scoped interceptor is registered with "
"the <literal>Configuration object prior to building the "
"<literal>SessionFactory. Unless a session is opened explicitly "
"specifying the interceptor to use, the supplied interceptor will be applied "
"to all sessions opened from that <literal>SessionFactory. "
"<literal>SessionFactory-scoped interceptors must be thread safe. "
"Ensure that you do not store session-specific states, since multiple "
"sessions will use this interceptor potentially concurrently."
msgstr ""
"<literal>SessionFactory-ì˜ì—ì˜ ì¸í„°ì…‰í„°ëŠ” SessionFactoryConfiguration ê°ì²´ì— 등ë¡ëœë‹¤. "
"ì´ ê²½ìš°ì—, 공급ë˜ëŠ” ì¸í„°ì…‰í„°ëŠ” ê·¸ <literal>SessionFactory로부터 ì—´"
"ë ¤ì§„ ëª¨ë“ ì„¸ì…˜ë“¤ì— ì ìš©ë 것ì´ë‹¤; í•˜ë‚˜ì˜ ì„¸ì…˜ì´ ì‚¬ìš©í• ì¸í„°ì…‰í„°ë¥¼ 명시ì 으로 "
"ì§€ì •í•˜ì—¬ 열리지 않는 í•œ ì´ê²ƒì€ ì°¸ì´ë‹¤. <literal>SessionFactory-ì˜ì—"
"ì˜ ì¸í„°ì…‰í„°ë“¤ì€ 세션-ì§€ì •ì ì¸ ìƒíƒœë¥¼ ì €ìž¥í•˜ì§€ ì•Šë„ë¡ ì£¼ì˜í•˜ì—¬ ì“°ë ˆë“œ-ì•ˆì „í•´"
"야 한다. 왜ëƒí•˜ë©´ 다중 ì„¸ì…˜ë“¤ì€ (ìž ì •ì 으로) ì´ ì¸í„°ì…‰í„°ë¥¼ ë™ì‹œì 으로 ì‚¬ìš©í• "
"것ì´ê¸° 때문ì´ë‹¤."
#. Tag: title
#, no-c-format
msgid "Event system"
msgstr "ì´ë²¤íŠ¸ 시스템"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"If you have to react to particular events in your persistence layer, you can "
"also use the Hibernate3 <emphasis>event architecture. The event "
"system can be used in addition, or as a replacement, for interceptors."
msgstr ""
"ë§Œì¼ ë‹¹ì‹ ì´ ë‹¹ì‹ ì˜ ì˜ì† 계층ì—ì„œ íŠ¹ì • ì´ë²¤íŠ¸ë“¤ì— 대해 ë°˜ì‘해야 한다면, ë‹¹ì‹ "
"ì€ ë˜í•œ Hibernate3 <emphasis>event 아키í…처를 ì‚¬ìš©í• ìˆ˜ë„ ìžˆë‹¤. ì´"
"벤트 ì‹œìŠ¤í…œì€ ë¶€ê°€ë¬¼ë¡œ 사용ë 수 있거나 ì¸í„°ì…‰í„°ë“¤ì— 대한 대체물로 사용ë 수 "
"있다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"All the methods of the <literal>Session interface correlate to an "
"event. You have a <literal>LoadEvent, a FlushEventorg."
"hibernate.event</literal> package for the full list of defined event types. "
"When a request is made of one of these methods, the Hibernate "
"<literal>Session generates an appropriate event and passes it to "
"the configured event listeners for that type. Out-of-the-box, these "
"listeners implement the same processing in which those methods always "
"resulted. However, you are free to implement a customization of one of the "
"listener interfaces (i.e., the <literal>LoadEvent is processed by "
"the registered implementation of the <literal>LoadEventListener "
"interface), in which case their implementation would be responsible for "
"processing any <literal>load() requests made of the "
"<literal>Session."
msgstr ""
"본질ì 으로 <literal>Session ì¸í„°íŽ˜ì´ìŠ¤ì˜ ëª¨ë“ ë©”ì†Œë“œë“¤ì€ ì´ë²¤íŠ¸ì™€ "
"서로 ê´€ë ¨ë˜ì–´ 있다. ë‹¹ì‹ ì€ <literal>LoadEvent, "
"<literal>FlushEvent, ë“±ì„ ê°–ëŠ”ë‹¤ (ì •ì˜ëœ ì´ë²¤íŠ¸ íƒ€ìž…ë“¤ì˜ ì „ì²´ 리스"
"íŠ¸ì— ëŒ€í•´ì„œëŠ” XML 구성 íŒŒì¼ DTD ë˜ëŠ” <literal>org.hibernate.event "
"패키지를 참조하ë¼). í•˜ë‚˜ì˜ ìš”ì²ì´ ì´ë“¤ 메소드들 중 í•˜ë‚˜ì— ì˜í•´ 만들어질 ë•Œ, "
"Hibernate <literal>Sessionì€ ì ì ˆí•œ ì´ë²¤íŠ¸ë¥¼ ìƒì„±ì‹œí‚¤ê³ ê·¸ê²ƒì„ ê·¸ "
"íƒ€ìž…ì˜ êµ¬ì„±ëœ ì´ë²¤íŠ¸ 리스너ì—게 ì „ë‹¬í•œë‹¤. 박싱없ì´, ì´ë“¤ ë¦¬ìŠ¤ë„ˆë“¤ì€ ê·¸ë“¤ 메소"
"ë“œë“¤ì´ í•ìƒ 귀결ë˜ì—ˆë˜ ë™ì¼í•œ í”„ë¡œì„¸ì‹±ì„ êµ¬í˜„í•œë‹¤. 하지만 ë‹¹ì‹ ì´ ë¦¬ìŠ¤ë„ˆ ì¸í„°"
"페ì´ìŠ¤ë“¤ 중 í•˜ë‚˜ì˜ ë§žì¶¤ì„ êµ¬í˜„í•˜ëŠ” ê²ƒì´ ìžìœ ë¡ê³ (예를 들어 "
"<literal>LoadEvent는 LoadEventListener ì¸í„°íŽ˜ì´"
"ìŠ¤ì˜ ë“±ë¡ëœ êµ¬í˜„ì— ì˜í•´ 처리ëœë‹¤), ê·¸ ê²½ìš°ì— ê·¸ë“¤ êµ¬í˜„ì€ <literal>Sessionload() ìš”ì²ë“¤ì„ ì²˜ë¦¬í• ì±…ìž„"
"ì´ ìžˆì„ ê²ƒì´ë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"The listeners should be considered singletons. This means they are shared "
"between requests, and should not save any state as instance variables."
msgstr ""
"ë¦¬ìŠ¤ë„ˆë“¤ì€ íš¨ìœ¨ì ì´ê²Œë” 싱글톤(singleton)들로 간주ë˜ì–´ì•¼ í• ê²ƒì´ë‹¤; ì´ê²ƒì€ ê·¸"
"ê²ƒë“¤ì´ ìš”ì²ë“¤ 사ì´ì—ì„œ ê³µìœ ë˜ê³ , ë”°ë¼ì„œ ìž„ì˜ì˜ ìƒíƒœë¥¼ ì¸ìŠ¤í„´ìŠ¤ 변수들로서 ì €"
"장하지 ë§ì•„야 í•¨ì„ ì˜ë¯¸í•œë‹¤."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"A custom listener implements the appropriate interface for the event it "
"wants to process and/or extend one of the convenience base classes (or even "
"the default event listeners used by Hibernate out-of-the-box as these are "
"declared non-final for this purpose). Custom listeners can either be "
"registered programmatically through the <literal>Configuration "
"object, or specified in the Hibernate configuration XML. Declarative "
"configuration through the properties file is not supported. Here is an "
"example of a custom load event listener:"
msgstr ""
"맞춤형 리스너는 ê·¸ê²ƒì´ íŽ¸ì˜ì ì¸ ê¸°ì € í´ëž˜ìŠ¤ë“¤(ë˜ëŠ” ë¦¬ìŠ¤ë„ˆë“¤ì´ ì´ ìš©ë„ë¡œ final"
"ì´ ì•„ë‹Œ 것으로 ì„ ì–¸ë˜ë¯€ë¡œ Hibernate out-of-the-boxì— ì˜í•´ ì‚¬ìš©ëœ ë””í´íŠ¸ ì´ë²¤"
"트 리스너들) 중 하나를 ì²˜ë¦¬í•˜ê³ /하거나 í™•ìž¥í•˜ê³ ìž ì›í•˜ëŠ” ì´ë²¤íŠ¸ë“¤ì— 대해 ì ì ˆ"
"í•œ ì¸í„°íŽ˜ì´ìŠ¤ë¥¼ 구현해야 한다. 맞춤형 ë¦¬ìŠ¤ë„ˆë“¤ì€ <literal>Configuration elements, each "
"reference will result in a separate instance of that class. If you need to "
"share listener instances between listener types you must use the "
"programmatic registration approach."
msgstr ""
"ì„ ì–¸ì 으로 등ë¡ëœ ë¦¬ìŠ¤ë„ˆë“¤ì€ ì¸ìŠ¤í„´ìŠ¤ë“¤ì„ ê³µìœ í• ìˆ˜ 없다. ë§Œì¼ ë™ì¼í•œ í´ëž˜ìŠ¤ "
"ì´ë¦„ì´ ì—¬ëŸ¬ ê°œì˜ <literal><listener/> 요소들ì—ì„œ 사용ë ê²½"
"ìš°, ê°ê°ì˜ 참조는 ê·¸ í´ëž˜ìŠ¤ì— 대한 별ë„ì˜ ì¸ìŠ¤í„´ìŠ¤ë¡œ 귀결ë 것ì´ë‹¤. ë§Œì¼ ë‹¹ì‹ "
"ì´ ë¦¬ìŠ¤ë„ˆ 타입들 사ì´ì—ì„œ 리스너 ì¸ìŠ¤í„´ìŠ¤ë“¤ì„ ê³µìœ í• ê°€ìš©ì„±ì„ í•„ìš”ë¡œ í• ê²½ìš° "
"ë‹¹ì‹ ì€ í”„ë¡œê·¸ëž˜ë° ë°©ì‹ì˜ ë“±ë¡ ì ‘ê·¼ë²•ì„ ì‚¬ìš©í•´ì•¼ 한다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Why implement an interface and define the specific type during "
"configuration? A listener implementation could implement multiple event "
"listener interfaces. Having the type additionally defined during "
"registration makes it easier to turn custom listeners on or off during "
"configuration."
msgstr ""
"구성 ë™ì•ˆì— 왜 ì¸í„°íŽ˜ì´ìŠ¤ë¥¼ êµ¬í˜„í•˜ê³ íŠ¹ì • íƒ€ìž…ì„ ì§€ì •í•˜ëŠ”ê°€? ë¬¼ë¡ ë¦¬ìŠ¤ë„ˆ 구현"
"ì€ ì—¬ëŸ¬ ê°œì˜ ì´ë²¤íŠ¸ 리스너 ì¸í„°íŽ˜ì´ìŠ¤ë“¤ì„ êµ¬í˜„í• ìˆ˜ 있다. ë“±ë¡ ë™ì•ˆì— 추가ì "
"으로 íƒ€ìž…ì„ ì •ì˜í•˜ëŠ” ê²ƒì€ ì»¨í”¼ê·¸ë ˆì´ì…˜ ë™ì•ˆì— 맞춤형 ë¦¬ìŠ¤ë„ˆë“¤ì˜ ì‚¬ìš© 여부를 "
"ì „í™˜ì‹œí‚¤ëŠ” ê²ƒì„ ë” ì‰½ê²Œ 해준다."
#. Tag: title
#, no-c-format
msgid "Hibernate declarative security"
msgstr "Hibernate ì„ ì–¸ì ì¸ ë³´ì•ˆ"
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Usually, declarative security in Hibernate applications is managed in a "
"session facade layer. Hibernate3 allows certain actions to be permissioned "
"via JACC, and authorized via JAAS. This is an optional functionality that is "
"built on top of the event architecture."
msgstr ""
"대개 Hibernate 어플리케ì´ì…˜ë“¤ì—ì„œ ì„ ì–¸ì ì¸ ë³´ì•ˆì€ session facade 계층 ë‚´ì—ì„œ "
"관리ëœë‹¤. ì´ì œ, Hibernate3는 ì–´ë–¤ ì•¡ì…˜ë“¤ì´ JACC를 통해 í¼ë¯¸ì…˜ì„ ì£¼ì–´ì§€ê³ , "
"JAAS를 통해 ì¸ê°€ë˜ëŠ” ê²ƒì„ í—ˆìš©í•´ì¤€ë‹¤. ì´ê²ƒì€ ëª¨ë“ ì•„í‚¤í…ì²˜ì˜ ìƒë‹¨ì— ë¹Œë“œëœ ì˜µ"
"ì…˜ 기능ì´ë‹¤."
#. Tag: para
#, no-c-format
msgid ""
"First, you must configure the appropriate event listeners, to enable the use "
"of JAAS authorization."
msgstr ""
"ë¨¼ì €, ë‹¹ì‹ ì€ JAAS authorization ì‚¬ìš©ì„ ì´ìš© 가능하ë„ë¡ í•˜ê¸° 위해 ì ì ˆí•œ ì´ë²¤"
"트 ë¦¬ìŠ¤í„°ë“¤ì„ êµ¬ì„±í•´ì•¼ 한다."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Note that <literal><listener type=\"...\" class=\"...\"/> is "
"shorthand for <literal><event type=\"...\"><listener class=\"...\"/"
"></event></literal> when there is exactly one listener for a "
"particular event type."
msgstr ""
"<literal><listener type=\"...\" class=\"...\"/>는 íŠ¹ì • ì´ë²¤"
"트 íƒ€ìž…ì— ëŒ€í•´ ì •í™•ížˆ í•œ ê°œì˜ ë¦¬ìŠ¤ë„ˆê°€ ì¡´ìž¬í• ë•Œ 단지 <literal><event "
"type=\"...\"><listener class=\"...\"/></event></literal>ì˜ ë‹¨"
"ì¶•í˜•ìž„ì„ ë…¸íŠ¸í•˜ë¼."
#. Tag: para
#, fuzzy, no-c-format
msgid ""
"Next, while still in <literal>hibernate.cfg.xml, bind the "
"permissions to roles:"
msgstr ""
"다ìŒìœ¼ë¡œ, ì—¬ì „ížˆ <literal>hibernate.cfg.xml ë‚´ì—ì„œ í¼ë¯¸ì…˜ë“¤ì„ role"
"ë“¤ì— ë°”ì¸ë“œ 시킨다 :"
#. Tag: para
#, no-c-format
msgid "The role names are the roles understood by your JACC provider."
msgstr ""
"ì—í• (role) ì´ë¦„ë“¤ì€ ë‹¹ì‹ ì˜ JACC 프로바ì´ë”ì— ì˜í•´ ì¸ì§€ëœ ì—í• (role)들ì´ë‹¤."
Other Hibernate examples (source code examples)
Here is a short list of links related to this Hibernate events.po source code file:
|