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
Interface ServiceProvisionListener

All Superinterfaces:
  Remote

All Known Implementing Classes:
  RelocationPolicyHandler, ScalingPolicyHandler

    public interface ServiceProvisionListener

extends Remote

A ServiceProvisionListener waits for notification that a ServiceBean has been provisioned

Method Summary
`void` | `failed(ServiceElement sElem, boolean resubmitted)` Notify listener that the Service described by the ServiceElement has not been provision succesfully
`void` | `succeeded(ServiceBeanInstance jsbInstance)` Notify listener that the Service described by the ServiceBeanInstance has been provisioned succesfully

Method Detail

### succeeded

    void succeeded(ServiceBeanInstance jsbInstance)
                   throws RemoteException

  Notify listener that the Service described by the ServiceBeanInstance has been provisioned succesfully

  Parameters:
    `jsbInstance` - The ServiceBeanInstance
  Throws:
    `RemoteException` - If communication errors occur

### failed

    void failed(ServiceElement sElem,
                boolean resubmitted)
                throws RemoteException

  Notify listener that the Service described by the ServiceElement has not been provision succesfully

  Parameters:
    `sElem` - The ServiceElement
    `resubmitted` - Whether the Service described by the ServiceElement has been resubmitted for provisioning
  Throws:
    `RemoteException` - If communication errors occur

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.