Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.jboss.adapter
Class RepositoryAdapter

java.lang.Object
  extended by org.nuxeo.runtime.jboss.adapter.RepositoryAdapter
All Implemented Interfaces:
EventListener

public class RepositoryAdapter
extends Object
implements EventListener

Author:
Bogdan Stefanescu

Constructor Summary
RepositoryAdapter()
           
 
Method Summary
 boolean aboutToHandleEvent(Event event)
          Notified about an event about to be processed.
 void deployRepository(String name)
           
 String getDSContent(String name)
           
 void handleEvent(Event event)
          An event was received.
 void undeployRepository(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryAdapter

public RepositoryAdapter()
Method Detail

aboutToHandleEvent

public boolean aboutToHandleEvent(Event event)
Description copied from interface: EventListener
Notified about an event about to be processed. Returns false to cancel the event.

Specified by:
aboutToHandleEvent in interface EventListener
Parameters:
event - the event
Returns:
false to cancel the event or true otherwise

handleEvent

public void handleEvent(Event event)
Description copied from interface: EventListener
An event was received.

Specified by:
handleEvent in interface EventListener

deployRepository

public void deployRepository(String name)
                      throws Exception
Throws:
Exception

undeployRepository

public void undeployRepository(String name)
                        throws Exception
Throws:
Exception

getDSContent

public String getDSContent(String name)

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.