org.jafer.registry.model
Interface Category

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Category

public interface Category
extends java.io.Serializable

This interface represents a category. A category can be attached to any service provider or service to allow easy identification when using the service locator


Method Summary
 java.lang.String getName()
          Gets the name of this category.
 java.lang.String getValue()
          Gets the value of this category.
 

Method Detail

getName

java.lang.String getName()
Gets the name of this category. This always stays constant for any category type

Returns:
Returns the name.

getValue

java.lang.String getValue()
Gets the value of this category. This is the value specific to this instance of the category

Returns:
Returns the value.