fedora.server.resourceIndex
Interface MethodInfoStore

All Superinterfaces:
MethodInfoProvider
All Known Implementing Classes:
DatabaseMethodInfoStore

public interface MethodInfoStore
extends MethodInfoProvider

Stores and provides key information about known service method implementations.

Author:
cwilper@cs.cornell.edu

Method Summary
 void deleteBDefInfo(java.lang.String bDefPID)
          Delete method information about the given behavior definition.
 void deleteBMechInfo(java.lang.String bMechPID)
          Delete method information about the given behavior mechanism.
 void putBDefInfo(BDefReader reader)
          Add or replace method information about the given behavior definition.
 void putBMechInfo(BMechReader reader)
          Add or replace method information about the given behavior mechanism.
 
Methods inherited from interface fedora.server.resourceIndex.MethodInfoProvider
getMethodInfo
 

Method Detail

putBDefInfo

void putBDefInfo(BDefReader reader)
                 throws ResourceIndexException
Add or replace method information about the given behavior definition. A behavior definition defines a set of method names and the runtime parameters for each.

Parameters:
reader - the behavior definition.
Throws:
ResourceIndexException - if any error occurs.

putBMechInfo

void putBMechInfo(BMechReader reader)
                  throws ResourceIndexException
Add or replace method information about the given behavior mechanism. For each method it implements, a behavior mechanism defines a set of datastream binding keys and a set of possible return types.

Parameters:
reader - the behavior mechanism.
Throws:
ResourceIndexException - if any error occurs.

deleteBDefInfo

void deleteBDefInfo(java.lang.String bDefPID)
                    throws ResourceIndexException
Delete method information about the given behavior definition.

Parameters:
bDefPID - the pid of the behavior definition whose information should be deleted.
Throws:
ResourceIndexException - if any error occurs.

deleteBMechInfo

void deleteBMechInfo(java.lang.String bMechPID)
                     throws ResourceIndexException
Delete method information about the given behavior mechanism.

Parameters:
bDefPID - the pid of the behavior mechanism whose information should be deleted.
Throws:
ResourceIndexException - if any error occurs.