org.tm4j.net.LocatorFactory .createLocator(java.lang.String notation,java.lang.String address)

Description

Creates a new locator. In order for the locator to be created correctly, its notation and implementing class must first have been registered with the factory using #registerImplementation(String, Class).

Parameters
java.lang.String address the address to be associated with the new locator.
java.lang.String notation the notation to be associated with the new locator.

Throws

  • org.tm4j.net.LocatorFactoryException - If no locator implementation class associated with notation has yet been registered, or an unexpected condition occurred during locator instantiation.

Other Resources

Related Topics