Skip navigation links


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:

 
<service>
    <description>
        My Service Availability Checker
    </description>
    <name>MyServiceAvailability</name>
    <impl-class>my.service.SampleServiceAvailability</impl-class>
</service>
 

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.

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.