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 PropertyInclude
This 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 void
addProperties(Collection<MediatorProperty> properties)
Add a set of propertiesvoid
addProperty(MediatorProperty property)
Add a propertyCollection<MediatorProperty>
getProperties()
Get all the parameters as aCollection
MediatorProperty
getProperty(String name)
Retrieve the property with the specific nameMediatorProperty
removeProperty(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
-Collection
of 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
-
-