Fixed formatting in data-access.xml
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<title>An Easy Way to Connect to GemFire </title>
|
<title>An Easy Way to Connect to GemFire </title>
|
||||||
|
|
||||||
<para>For many applications, A basic connection to a GemFire grid, using
|
<para>For many applications, A basic connection to a GemFire grid, using
|
||||||
default values is sufficient. Spring Data GemFire's <datasource> tag
|
default values is sufficient. Spring Data GemFire's <tag><datasource></tag> tag
|
||||||
provides a simple way to access data. The data source creates a client
|
provides a simple way to access data. The data source creates a client
|
||||||
cache and connection pool. In addition, it will query the member servers
|
cache and connection pool. In addition, it will query the member servers
|
||||||
for all existing root regions and create a proxy (empty) client region for
|
for all existing root regions and create a proxy (empty) client region for
|
||||||
@@ -31,17 +31,18 @@
|
|||||||
<locator host="somehost" port="1234"/>
|
<locator host="somehost" port="1234"/>
|
||||||
</gfe-data:datasource></programlisting>
|
</gfe-data:datasource></programlisting>
|
||||||
|
|
||||||
<para>The datasource tag is synactically similar to <tag><gfe:pool>.
|
<para>The datasource tag is synactically similar to <tag><gfe:pool></tag>.
|
||||||
It may be configured with one or more locator or server tags to connect to
|
It may be configured with one or more locator or server tags to connect to
|
||||||
an existing data grid. Additionally, all attributes available to configure
|
an existing data grid. Additionally, all attributes available to configure
|
||||||
a pool are supported. This configuration will automatically create
|
a pool are supported. This configuration will automatically create
|
||||||
ClientRegion beans for each region defined on members connected to the
|
ClientRegion beans for each region defined on members connected to the
|
||||||
locator, so they may be seamlessly referenced by Spring Data mapping
|
locator, so they may be seamlessly referenced by Spring Data mapping
|
||||||
annotations, GemfireTemplate, and wired into application
|
annotations, GemfireTemplate, and wired into application
|
||||||
classes.</tag></para>
|
classes.</para>
|
||||||
|
|
||||||
<para><tag>Of course, you can explicitly configure client regions. For
|
<para>Of course, you can explicitly configure client regions. For
|
||||||
example, if you want to cache data in local memory: </tag><programlisting
|
example, if you want to cache data in local memory:
|
||||||
|
<programlisting
|
||||||
language="xml"><gfe-data:datasource>
|
language="xml"><gfe-data:datasource>
|
||||||
<locator host="somehost" port="1234"/>
|
<locator host="somehost" port="1234"/>
|
||||||
</gfe-data:datasource>
|
</gfe-data:datasource>
|
||||||
|
|||||||
Reference in New Issue
Block a user