...
- Under development...
DSpace Services Framework - The TAO of DSpace Services
Other Resources
- Mark Diggory's talk at DSUG09 on Backporting 2.0 Services
- DSpace 2.0 Modelling Services
- DSpace 2.0 Core Services
...
Code Block |
---|
//Initialize DSpace utility/helper object (to interact with the Kernel)
DSpace dspace = new DSpace();
//Get the EventService registered with the DSpace Kernel
EventService eventService = dspace.getEventService();
//Register a new EventListener with the existing EventService
//(Allows you to perform an action in your EventListener whenever an event is fired)
EventListener listener = new org.my.EventListener();
eventService.registerEventListener(listener);
|
Note: The above is completely valid Java code, assuming you create a new org.my.EventListener
class, or replace it with a different, existing listener.
...