org.jboss.ha.framework.interfaces
Interface HAServiceKeyProvider

All Known Subinterfaces:
HAService<E>, HASingleton<E>
All Known Implementing Classes:
HAServiceImpl, HASingletonImpl

public interface HAServiceKeyProvider

Provides the key used to identify a service within the HAPartition, DistributedReplicantManager, etc.

Author:
Paul Ferraro

Method Summary
 HAPartition getHAPartition()
          Get the underlying partition used by this service.
 String getHAServiceKey()
          Get the key used to identify a service within a clustering service.
 

Method Detail

getHAPartition

HAPartition getHAPartition()
Get the underlying partition used by this service.

Returns:
the partition

getHAServiceKey

String getHAServiceKey()
Get the key used to identify a service within a clustering service.

Returns:
a key unique to this service


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.