Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)
E10659-10


oracle.soa.management.facade
Class LocatorFactory

java.lang.Object
  extended by oracle.soa.management.facade.LocatorFactory


public class LocatorFactory
extends java.lang.Object

Factory for creating Locator instances, this is the main entry point for searching for components, composits and instances and do lifecycle operations

See Also:
Locator

Constructor Summary
LocatorFactory()
           

 

Method Summary
static Locator createLocator()
          Default constructor, assumes the client to run within an already established initial context.
static Locator createLocator(java.util.Hashtable pContextProps)
          Create an ejb based locator instance

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LocatorFactory

public LocatorFactory()

Method Detail

createLocator

public static Locator createLocator()
                             throws java.lang.Exception
Default constructor, assumes the client to run within an already established initial context. Developers should use LocatorFactory#createLocator(Hashtable pContextProps)
Returns:
an instance of the Locator
Throws:
java.lang.Exception - in case the locator could not be created

createLocator

public static Locator createLocator(java.util.Hashtable pContextProps)
                             throws java.lang.Exception
Create an ejb based locator instance
Parameters:
pContextProps - standard java.naming.InitialContext params
E.g. for weblogic java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://${managed.server.host}:${managed.server.port}/soa-infra
Returns:
a fresh instance of an ejb based locator
Throws:
java.lang.Exception - in case the locator could not be created

Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)
E10659-10


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.