Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

LocatorFactory defalt createLocator() - When to use default createLocator

743691Feb 16 2011 — edited Feb 22 2011
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2011
Added on Feb 16 2011
2 comments
102 views