Package org.apache.synapse
Interface PropertyInclude
-
- All Known Implementing Classes:
AbstractEndpoint,AddressEndpoint,BasicAuthConfiguredHTTPEndpoint,ClassEndpoint,DefaultEndpoint,DynamicLoadbalanceEndpoint,FailoverEndpoint,HTTPEndpoint,IndirectEndpoint,LoadbalanceEndpoint,OAuthConfiguredHTTPEndpoint,RecipientListEndpoint,ResolvingEndpoint,SALoadbalanceEndpoint,ServiceDynamicLoadbalanceEndpoint,TemplateEndpoint,WSDLEndpoint
public interface PropertyIncludeThis inteface makes an entity to have properties. Usually properties are specified in the XML configuration langugae.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProperties(Collection<MediatorProperty> properties)Add a set of propertiesvoidaddProperty(MediatorProperty property)Add a propertyCollection<MediatorProperty>getProperties()Get all the parameters as aCollectionMediatorPropertygetProperty(String name)Retrieve the property with the specific nameMediatorPropertyremoveProperty(String name)Remove a property and return it
-
-
-
Method Detail
-
addProperty
void addProperty(MediatorProperty property)
Add a property- Parameters:
property- property to be added
-
addProperties
void addProperties(Collection<MediatorProperty> properties)
Add a set of properties- Parameters:
properties-Collectionof properties to be added
-
getProperty
MediatorProperty getProperty(String name)
Retrieve the property with the specific name- Parameters:
name- name of the parameter- Returns:
- the value of the parameter if present otherwise
null
-
removeProperty
MediatorProperty removeProperty(String name)
Remove a property and return it- Parameters:
name- name of the property to be removed- Returns:
- Property which is removed
-
getProperties
Collection<MediatorProperty> getProperties()
Get all the parameters as aCollection- Returns:
- retrieve the parameters as a
Collection
-
-