Package com.iplanet.services.naming
Class NamingTableConfigurationFactory
- java.lang.Object
-
- com.iplanet.services.naming.NamingTableConfigurationFactory
-
public class NamingTableConfigurationFactory extends Object
Responsible for creating the configuration which is used by WebtopNaming. The objective is to ensure that the configuration is used in an immutable fashion by WebtopNaming, which has a high tendency of leak untyped collections through its API. This class is intentionally gingerly moving code from WebtopNaming to this configuration factory in the attempt to minimise the impact of these changes on what is some of the oldest code in the product. Future direction: Refactor and convert these initialisation methods so that the configuration can be entirely initialsed as final.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classNamingTableConfigurationFactory.NamingTableConfigurationConfiguration based on the naming table provided.
-
Field Summary
Fields Modifier and Type Field Description static StringNODE_SEPARATORThe delimiter used to separate server IDs in the service attribute.
-
Constructor Summary
Constructors Constructor Description NamingTableConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamingTableConfigurationFactory.NamingTableConfigurationgetConfiguration(Hashtable namingTable)Constructs the internal configuration required by WebtopNaming.
-
-
-
Field Detail
-
NODE_SEPARATOR
public static final String NODE_SEPARATOR
The delimiter used to separate server IDs in the service attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfiguration
public NamingTableConfigurationFactory.NamingTableConfiguration getConfiguration(Hashtable namingTable) throws MalformedURLException, ServerEntryNotFoundException
Constructs the internal configuration required by WebtopNaming. Thread Safety: This method does not require synchronisation as the result is an immutable data structure.- Parameters:
namingTable- Non null naming table which contains the current server and site configuration.- Returns:
- Non null NamingTableConfiguration.
- Throws:
MalformedURLException- TODOServerEntryNotFoundException- TODO
-
-