Exposing the GateIn repository using XCMIS

6 views
Skip to first unread message

Piergiorgio Lucidi

unread,
Feb 24, 2012, 10:15:29 AM2/24/12
to xcmis
Hi guys,

I would like to know if it is possible to use XCMIS to expose the
GateIn repository, that is an exoJCR repository, directly using XCMIS.
Thank you.

Piergiorgio

andrew00x

unread,
Feb 24, 2012, 2:33:53 PM2/24/12
to xcmis
Hello,

It is possible to use XCMIS with any JCR repository/workspace.
You can use org.exoplatform.ecms.xcmis.sp.StorageProviderImpl to
configure
CMIS repository as front-end for JCR workspace, see example below.

<component>
      <type>org.exoplatform.ecms.xcmis.sp.StorageProviderImpl</type>
      <init-params>
         <object-param>
            <name>configuration</name>
            <object
type="org.exoplatform.ecms.xcmis.sp.StorageProviderImpl
$StorageProviderConfig">
               <field name="storage">
                  <object
type="org.exoplatform.ecms.xcmis.sp.StorageConfiguration">
                     <field name="id">
                        <string>cmis2</string>
                     </field>
                     <field name="repository">
                        <string>db1</string>
                     </field>
                     <field name="workspace">
                        <string>cmis2</string>
                     </field>
                  </object>
               </field>
            </object>
         </object-param>
      </init-params>
   </component>


Regards,
Andrey.

On Feb 24, 5:15 pm, Piergiorgio Lucidi <piergiorgioluc...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages