org.apache.ace.server.action
Interface Action

All Known Subinterfaces:
MessageAction

public interface Action

An Action is a rather general action which can be used to handle some event. Action services are to be published with a service property ACTION_NAME, which states the name of this action, so other services can find it.

Implementers of Action should specify in their interface which properties should be available in the event, for the action to be able to do its job.


Field Summary
static String ACTION_NAME
           
 
Method Summary
 void handle(org.osgi.service.event.Event event)
          Handles an event, performing the main action of this Action.
 

Field Detail

ACTION_NAME

static final String ACTION_NAME
Method Detail

handle

void handle(org.osgi.service.event.Event event)
Handles an event, performing the main action of this Action.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.