org.apache.servicemix.jbi.container
Class SubscriptionSpec
java.lang.Object
org.apache.servicemix.jbi.container.SubscriptionSpec
- All Implemented Interfaces:
- Serializable
public class SubscriptionSpec
- extends Object
- implements Serializable
Represents a subscription to a JBI endpoint.
- Version:
- $Revision: 564374 $
- See Also:
- Serialized Form
SubscriptionSpec
public SubscriptionSpec()
getEndpoint
public String getEndpoint()
setEndpoint
public void setEndpoint(String endpoint)
getFilter
public SubscriptionFilter getFilter()
setFilter
public void setFilter(SubscriptionFilter filter)
getInterfaceName
public QName getInterfaceName()
setInterfaceName
public void setInterfaceName(QName interfaceName)
getOperation
public QName getOperation()
setOperation
public void setOperation(QName operation)
getService
public QName getService()
setService
public void setService(QName service)
getName
public ComponentNameSpace getName()
- Returns:
- Returns the name.
setName
public void setName(ComponentNameSpace name)
- Parameters:
name - The name to set.
matches
public boolean matches(Registry registry,
MessageExchangeImpl exchange)
- Returns true if this subscription matches the given message exchange
- Parameters:
exchange - the exchange to be matched
- Returns:
- true if this subscription matches the exchange
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.