Class AddressImpl
- java.lang.Object
-
- org.apache.activemq.artemis.core.postoffice.impl.AddressImpl
-
- All Implemented Interfaces:
Address
public class AddressImpl extends Object implements Address
Splits an address string into its hierarchical parts usingWildcardConfiguration.getDelimiter()as delimiter.
-
-
Constructor Summary
Constructors Constructor Description AddressImpl(SimpleString address)AddressImpl(SimpleString address, WildcardConfiguration wildcardConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsWildCard()booleanequals(Object o)SimpleStringgetAddress()SimpleString[]getAddressParts()inthashCode()booleanmatches(Address otherAddr)This method should actually be called `isMatchedBy`.
-
-
-
Constructor Detail
-
AddressImpl
public AddressImpl(SimpleString address)
-
AddressImpl
public AddressImpl(SimpleString address, WildcardConfiguration wildcardConfiguration)
-
-
Method Detail
-
getAddress
public SimpleString getAddress()
- Specified by:
getAddressin interfaceAddress
-
getAddressParts
public SimpleString[] getAddressParts()
- Specified by:
getAddressPartsin interfaceAddress
-
containsWildCard
public boolean containsWildCard()
- Specified by:
containsWildCardin interfaceAddress
-
matches
public boolean matches(Address otherAddr)
This method should actually be called `isMatchedBy`.
-
-