org.fcrepo.server.messaging
Interface Messaging

All Known Implementing Classes:
MessagingImpl, MessagingModule

public interface Messaging

The Messaging subsystem interface.

Version:
$Id$
Author:
Edwin Shin

Nested Class Summary
static class Messaging.MessageType
           
 
Method Summary
 void close()
          Shutdown and/or close any resources and/or connections.
 void send(FedoraMethod method)
          Send a message representing the FedoraMethod.
 void send(String destName, FedoraMessage message)
          Send the FedoraMessage to the specified destination.
 

Method Detail

send

void send(String destName,
          FedoraMessage message)
          throws MessagingException
Send the FedoraMessage to the specified destination.

Parameters:
destName - The destination of the message.
message - The message to send.
Throws:
MessagingException

send

void send(FedoraMethod method)
          throws MessagingException
Send a message representing the FedoraMethod. The message representation and destination(s) are determined by the implementing class.

Parameters:
method - The method to send.
Throws:
MessagingException

close

void close()
           throws MessagingException
Shutdown and/or close any resources and/or connections.

Throws:
MessagingException


Copyright © 2011 DuraSpace. All Rights Reserved.