Keel 2.1RC2

org.keel.services.domain
Interface Domain

All Known Implementing Classes:
ConfigDomain

public interface Domain

Version:
$Revision: 1.1 $ $Date: 2004/03/09 20:11:31 $
Author:
SChatterjee @date Feb 28, 2004

Nested Class Summary
static class Domain.DomainKey
          Inner class representing the enumerated domain key values this interface can handle
 
Field Summary
static java.lang.String ROLE
           
 
Method Summary
 java.lang.String getDescription()
          Return description associated with domain
 java.lang.String getName()
          Return the name of the domain
 java.lang.String getValue(Domain.DomainKey key)
          Value of a service hint to look up a particular service associated with users of this domain.
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Return the name of the domain

Returns:
name of the domain

getDescription

public java.lang.String getDescription()
Return description associated with domain

Returns:
description of domain

getValue

public java.lang.String getValue(Domain.DomainKey key)
                          throws DomainException
Value of a service hint to look up a particular service associated with users of this domain.

Parameters:
key - The service whose hint is to be looked up
Returns:
The value of the hint
Throws:
DomainException - If configuration or other internal errors happen

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.