Hello,

I don't know whether this is intended behaviour or I'm doing something 
wrong, but my (finally successful) implementation of an external PID 
service that extends the org.dspace.identifier.IdentifierProvider 
creates the default Handle (hdl:...) along with every PID that my own 
service creates. Maybe the problem is best described in bulleted points:

- I inject my identifier service in the 
[dspace]/config/spring/api/identifier-service.xml (using the bean that 
is provided for the VersionedHandleIdentifierProvider but replacing the 
class value with my class).

- I also tried uncommenting the bean in the same file that autowires all 
classes implementing IdentifierServiceImpl

- When I submit a new item in DSpace, it gets the desired PID that my 
service generates, but also a default hdl:... identifier

- The identifier that is shown in the "Please use this identifier..." 
box is the hdl identifier, which is not desired. Also, the item's URL is 
the handle URL instead of "mine".

- Both identifiers are listed in the "Handle" table of the DSpace databse.

I can think of two reasons for this:
1) The standard handle class 
(org.dspace.identifier.HandleIdentifierProvider) is used somewhere else 
where the autowiring has no effect
2) Something goes wrong with the autowiring and the 
HandleIdentifierProvider is injected, too -- but if so, why and where?

Thanks very much for your responses and suggestions,
Joachim

-- 
Joachim Bingel
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, 68161 Mannheim
+49 - (0)621-1581-456 | http://www.ids-mannheim.de


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to