Skip navigation links

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


oracle.soa.management.facade
Class ServerManagerFactory

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


public abstract class ServerManagerFactory
extends java.lang.Object

Creates ServerManager objects for managing a SOA server

 ServerManagerFactory smf = ServerManagerFactory.getInstance();
 Hashtable jndiProps = new Hashtable();

 jndiProps.put(Context.PROVIDER_URL, "server_JNDI_provider_url");
 jndiProps.put(Context.INITIAL_CONTEXT_FACTORY, "server_initial_context_factory_classname");
 jndiProps.put(Context.SECURITY_PRINCIPAL, "jndi_user");
 jndiProps.put(Context.SECURITY_CREDENTIALS, "jndi_password");
 ServerManager sm = smf.createInstance(jndiProps);
 

Constructor Summary
ServerManagerFactory()
           

 

Method Summary
abstract  ServerManager createServerManager(javax.naming.Context context)
          Creates a ServerManager object using the specified JNDI context
abstract  ServerManager createServerManager(java.util.Hashtable contextProps)
          Creates a ServerManager object using the specified JNDI context properties
static ServerManagerFactory getInstance()
           

 

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

 

Constructor Detail

ServerManagerFactory

public ServerManagerFactory()

Method Detail

getInstance

public static ServerManagerFactory getInstance()
Returns:
the sole instance of the factory

createServerManager

public abstract ServerManager createServerManager(java.util.Hashtable contextProps)
                                           throws java.lang.Exception
Creates a ServerManager object using the specified JNDI context properties
Parameters:
contextProps - the JNDI context properties, which can be used to create an initial context for establishing a connection to the server to be managed
Returns:
a ServerManager instance
Throws:
java.lang.Exception

createServerManager

public abstract ServerManager createServerManager(javax.naming.Context context)
                                           throws java.lang.Exception
Creates a ServerManager object using the specified JNDI context
Parameters:
context - a JNDI initial context, which will be used to establish a connection to the server to be managed
Returns:
a ServerManager instance
Throws:
java.lang.Exception

Skip navigation links

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


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