Interface IServiceAvailability

All Known Subinterfaces:

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/ descriptor, identified by a unique service name.

Here is an example descriptor:


        My Service Availability Checker


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

Method Detail


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

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

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

Copyright © 2011, Oracle. All rights reserved.