Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jini.rio.core.provision
Interface ServiceStatementManager

    public interface ServiceStatementManager

The ServiceStatementManager defines the semantics of reading/writing `ServiceStatement` instances. This will allow for different mechanisms (shared drives, other services which may manage the persistence, etc...) to be employed declaratively

Method Summary
`ServiceStatement[]` | `get()` Get an array of ServiceStatement objects
`ServiceStatement` | `get(ServiceElement sElem)` Get a ServiceStatement for a particular ServiceElement
`void` | `record(ServiceStatement statement)` Record a ServiceStatement
`void` | `terminate()` Terminate and clean up any resouces

Method Detail

### get

    ServiceStatement[] get()

  Get an array of ServiceStatement objects

  Returns:
    An array of ServiceStatement objects. The array will be empty if no records have been found

### get

    ServiceStatement get(ServiceElement sElem)

  Get a ServiceStatement for a particular ServiceElement

  Parameters:
    `sElem` - The ServiceElement
  Returns:
    A ServiceStatement object. If no ServiceStatement is found for the ServiceElement a null is returned

### record

    void record(ServiceStatement statement)

  Record a ServiceStatement

  Parameters:
    `statement` - The ServiceStatement to write

### terminate

    void terminate()

  Terminate and clean up any resouces

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Project Rio.