File: mnesia_session.html

package info (click to toggle)
erlang-doc-html 1%3A10.b.1a-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 22,488 kB
  • ctags: 9,933
  • sloc: erlang: 505; ansic: 323; perl: 61; sh: 45; makefile: 39
file content (183 lines) | stat: -rw-r--r-- 3,522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- This document was generated using DocBuilder 3.3.2 -->
<HTML>
<HEAD>
  <TITLE>mnesia_session</TITLE>
  <SCRIPT type="text/javascript" src="../../../../doc/erlresolvelinks.js">
</SCRIPT>
  <STYLE TYPE="text/css">
<!--
    .REFBODY     { margin-left: 13mm }
    .REFTYPES    { margin-left: 8mm }
-->
  </STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#FF00FF"
      ALINK="#FF0000">
<!-- refpage -->
<CENTER>
<A HREF="http://www.erlang.se">
  <IMG BORDER=0 ALT="[Ericsson AB]" SRC="min_head.gif">
</A>
<H1>mnesia_session</H1>
</CENTER>

<H3>MODULE</H3>
<DIV CLASS=REFBODY>
mnesia_session
</DIV>

<H3>MODULE SUMMARY</H3>
<DIV CLASS=REFBODY>
Mnesia_Session
</DIV>

<H3>DESCRIPTION</H3>
<DIV CLASS=REFBODY>

<P>Mnesia is written in Erlang and intended to be
used for Erlang applications.


<P>The Mnesia_Session application enables access
to the Mnesia DBMS from foreign programming languages
(i.e. other languages than Erlang). The Mnesia_Session
interface is defined in IDL (an Interface Definition
Language standardized by OMG (the Object Management
Group)).
<P>This module is automatically generated from the IDL
specification <CODE>mnesia_session.idl</CODE> and is documented in 
the IDL specification.

</DIV>

<H3>Configuration parameters</H3>
<DIV CLASS=REFBODY>

<P>Mnesia_Session reads the following application configuration
parameters:

<P>
<UL>

<LI>
<CODE>-mnesia_session corba_connector_name Name</CODE>. This
parameter controls which initial name Mnesia Corba
Connector is bound. This parameter is only used when the
<CODE>enable_corba</CODE> is set to true. The name is validated
         by using <CODE>lname:check_name(Name)</CODE>.
See the <CODE>Orber</CODE> application for details. The default
name is <CODE>{'CosNaming_NameComponent',
&#34;IDL:CosNaming/NameComponent:1.0&#34;, &#34;mnesia_corba_connector&#34;,
[]}</CODE>.<BR>

</LI>


<LI>
<CODE>-mnesia_session debug Level</CODE>
Controls the debug level of Mnesia_Session.
Possible values are:
<BR>

<DL>

<DT>
<CODE>none</CODE>
</DT>

<DD>
No trace outputs at all. This is the default.

<BR>

</DD>

<DT>
<CODE>verbose</CODE>
</DT>

<DD>
Activates tracing of important debug events. 


<BR>

</DD>

<DT>
<CODE>debug</CODE>
</DT>

<DD>
Activates all events at the verbose level and
traces of all debug events. 

<BR>

</DD>

<DT>
<CODE>trace</CODE>
</DT>

<DD>
Activates all debug events both verbose and debug
         as well as trace events that provide internal printouts. 
         <BR>
This level is only intended
for debugging of small toy systems since many large
events may be generated.
        <BR>

</DD>

</DL>



</LI>


<LI>
<CODE>-mnesia_session enable_corba true | false</CODE>. This
flag enables Mnesia_Session to 
access Mnesia via CORBA. If CORBA access is enabled, the
application Orber must be started in order to start Mnesia
Session. The default is <CODE>false</CODE>.
<BR>

</LI>


</UL>

<P>First the SASL application parameters are checked, then
the command line flags are checked, and finally, the default
value is chosen.

</DIV>

<H3>See Also</H3>
<DIV CLASS=REFBODY>

<P> mnesia(3), orber(3), application(3)


</DIV>

<H3>AUTHORS</H3>
<DIV CLASS=REFBODY>
 Dan Gudmundsson - support@erlang.ericsson.se<BR>
 Hkan Mattsson - support@erlang.ericsson.se<BR>

</DIV>
<CENTER>
<HR>
<SMALL>mnesia_session 1.1.5<BR>
Copyright &copy; 1991-2004
<A HREF="http://www.erlang.se">Ericsson AB</A><BR>
</SMALL>
</CENTER>
</BODY>
</HTML>