|
Revision 26479, 1.5 kB
(checked in by bstefanescu, 2 years ago)
|
working on property model - api cleanup
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<component name="org.nuxeo.ecm.core.api.DocumentAdapterService" version="1.0.0"> |
|---|
| 4 |
<documentation> |
|---|
| 5 |
Service providing a dynamic adapter mechanism to adapt documents to random interfaces. |
|---|
| 6 |
@author Bogdan Stefanescu (bs@nuxeo.com) |
|---|
| 7 |
</documentation> |
|---|
| 8 |
|
|---|
| 9 |
<implementation class="org.nuxeo.ecm.core.api.adapter.DocumentAdapterService"/> |
|---|
| 10 |
|
|---|
| 11 |
<service> |
|---|
| 12 |
<provide |
|---|
| 13 |
interface="org.nuxeo.ecm.core.api.adapter.DocumentAdapterService"/> |
|---|
| 14 |
</service> |
|---|
| 15 |
|
|---|
| 16 |
<extension-point name="adapters"> |
|---|
| 17 |
|
|---|
| 18 |
<documentation> |
|---|
| 19 |
Extension Point for registering new document adapters |
|---|
| 20 |
XML extensions may contain any number of 'adapter' elements of the form: |
|---|
| 21 |
<adapter facet="Versionable" |
|---|
| 22 |
class="org.nuxeo.ecm.adapter.Versionable" |
|---|
| 23 |
factory="org.nuxeo.ecm.adapter.VersionableFactory"/> |
|---|
| 24 |
This means any document having the facet 'facet' can be adapted to a 'class' object using the factory 'factory' |
|---|
| 25 |
<p/> |
|---|
| 26 |
The facet attribute is optional and serve to restrict the aplicability of the adapter. |
|---|
| 27 |
If no facet is specified the adapter will be aapplicable on any document. |
|---|
| 28 |
</documentation> |
|---|
| 29 |
|
|---|
| 30 |
<object class="org.nuxeo.ecm.core.api.adapter.DocumentAdapterDescriptor"/> |
|---|
| 31 |
|
|---|
| 32 |
</extension-point> |
|---|
| 33 |
|
|---|
| 34 |
<extension-point name="propertyFactories"> |
|---|
| 35 |
|
|---|
| 36 |
<documentation> |
|---|
| 37 |
Extension Point for registering new property factories |
|---|
| 38 |
</documentation> |
|---|
| 39 |
|
|---|
| 40 |
<object class="org.nuxeo.ecm.core.api.adapter.PropertyFactoryDescriptor"/> |
|---|
| 41 |
|
|---|
| 42 |
</extension-point> |
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
</component> |
|---|