Rio Project 4.2 API Documentation



org.rioproject.monitor
Interface ProvisionListener


public interface ProvisionListener

A ProvisionListener waits for notification that a Service has been provisioned

Author:
Dennis Reedy

Method Summary
 void serviceProvisioned(ServiceBeanInstance jsbInstance, InstantiatorResource resource)
          Notify listener that the Service described by the ServiceBeanInstance has been provision succesfully
 void uninstantiable(ProvisionRequest request)
          Notify listener that the Service described by the ServiceBeanInstance is uninstnaible, allowing the listener to release any pending resources associated with the provisioning
 

Method Detail

serviceProvisioned

void serviceProvisioned(ServiceBeanInstance jsbInstance,
                        InstantiatorResource resource)
Notify listener that the Service described by the ServiceBeanInstance has been provision succesfully

Parameters:
jsbInstance - The ServiceBeanInstance
resource - The InstantiatorResource that instantiated the service

uninstantiable

void uninstantiable(ProvisionRequest request)
Notify listener that the Service described by the ServiceBeanInstance is uninstnaible, allowing the listener to release any pending resources associated with the provisioning

Parameters:
request - The ProvisonRequest that resulted in failure

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.