LocatorFactory defalt createLocator() - When to use default createLocator
743691Feb 16 2011 — edited Feb 22 2011I have Java Call Out(calling from mediator) class, from where I want to read process preference. To reach to composite & component I am using oracle.soa.management.facade.Class LocatorFactory to create Locator - entry point to get the composite/component. I am using method createLocator(java.util.Hashtable pContextProps) to get the locator. It requires provider URL, username & password to be specified. There is overloaded method createLocator() default method also.
1. Can I use this defalt method- createLocator() instead of providing context properties?
2. What will happen if I use defallt createLocator?
3. Any side effect caused by this?
Please reply if anyone has used default createLocator(). I could not find much on the same. If anybody knows anything about the same, please do reply.
Thanks in advance.
Thanks.
Sujata