Package com.arjuna.wsc11
Class RegistrarMapper
java.lang.Object
com.arjuna.wsc11.RegistrarMapper
The registrar mapper.
- Author:
- kevin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRegistrar
(String protocolIdentifier, Registrar registrar) Add a registrar for the specified protocol identifier.static RegistrarMapper
Get the registrar mapper singleton.getRegistrar
(String protocolIdentifier) Get the registrar for the specified protocol identifier.void
removeRegistrar
(String protocolIdentifier) Remove the registrar for the specified protocol identifier.
-
Constructor Details
-
RegistrarMapper
protected RegistrarMapper()Default constructor
-
-
Method Details
-
getFactory
Get the registrar mapper singleton.- Returns:
- The registrar mapper singleton.
-
addRegistrar
Add a registrar for the specified protocol identifier.- Parameters:
protocolIdentifier
- The protocol identifier.registrar
- The registrar.
-
getRegistrar
Get the registrar for the specified protocol identifier.- Parameters:
protocolIdentifier
- The protocol identifier.- Returns:
- The registrar.
-
removeRegistrar
Remove the registrar for the specified protocol identifier.- Parameters:
protocolIdentifier
- The protocol identifier.
-