com.bea.wlp.services
Interface IServiceAvailability

All Known Subinterfaces:
JobManager

public interface IServiceAvailability

This interface defines static access to deployed services.

Implementations of this interface can define custom rules for defining the required necessary resources in order for services to operate.

To create an implementation, you must register each implementation in META-INF/services/com.bea.wlp.services.IServicesAvailability.xml descriptor, identified by a unique service name.

Here is an example descriptor:

 

    
        My Service Availability Checker
    
    MyServiceAvailability
    my.service.SampleServiceAvailability

 


Method Summary
 boolean isAvailable()
          Method to determine if the service is available or not.
 

Method Detail

isAvailable

boolean isAvailable()
Method to determine if the service is available or not.

No exceptions of any kind should be thrown from this method.

Returns
True if the service has all the required resources, false otherwise.


Copyright © 2011, Oracle. All rights reserved.