The following features are supported:
A {@code Feature} is a special type of JAX-RS configuration meta-provider. Once a feature is registered,it's {@link #configure(FeatureContext)} method is invoked during JAX-RS runtime configuration and bootstrappingphase allowing the feature to further configure the runtime context in which it has been registered. From within the invoked {@code configure(...)} method a feature may provide additional runtime configurationfor the facility or conceptual domain it represents, such as registering additional contract providers, including nested features and/or specifying domain-specific properties.
@author Marek Potociar @since 2.0By default the initialize methods all delegate to initializeProvider(InterceptorProvider). If you're simply adding interceptors to a Server, Client, or Bus, this allows you to add them easily.
Feature {@link #getName() names} should be globally unique. If multiplefeatures have the same name, the feature with the highest service ranking is accessible through the {@link Features} service while those with lowerservice rankings are ignored.
This interface is expected to be implemented by feature providers.
Feature short or base names are type system identifiers. The (fully) qualified name of a feature is the name of the type it is defined on, followed by a colon, followed by the its short name. For example, the qualified name of the Annotation begin feature is uima.tcas.Annotation:begin
.
Features Flags or Features Toggle have been introduced by Martin Fowler for continuous delivery perspective. It consists of enable/disable some functionalities at runtime.
SecurityManagement : Even a feature is enabled, you can limit its usage to a group of users (for instance BETA Tester) before wide over all your users.
@author Cedrick LUNVENDefinition of an object belonging to a {@link VectorLayer}. Simply put, a feature is an object with a unique ID within it's layer, a list of alpha-numerical attributes and a geometry.
@author Pieter De Graef @since 1.6.0Beyond being a complex attribute, a feature contains the following additional information:
This interface represents a feature and is typically implemented by the feature enum.
Usually it makes sense to implement the following method which allows a very easy way to check the status of a feature.
public boolean isActive() { return FeatureContext.getFeatureManager().isActive(this); }
Please note that in Togglz 2.0 the isActive()
method isn't defined in the interface any more. So when updating to Togglz 2.0, you will have to remove the {@link Override} annotation from your implementation of the method.
This information helps requesting entities determine what actions are possible with regard to this entity (registration, search, join, etc.), what protocols the entity supports, and specific feature types of interest, if any (e.g., for the purpose of feature negotiation).
@author Christian Schudt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|