Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.client.svc
Class ServiceFactory

java.lang.Object
  extended by oracle.jbo.client.svc.ServiceFactory

All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class ServiceFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

Constructor Summary
ServiceFactory()
           

 

Method Summary
 Service createService(java.lang.String svcInfName, java.lang.String jndiName, java.lang.String schemaLocation, java.lang.String schemaName)
           
static commonj.sdo.helper.CopyHelper getCopyHelper(java.lang.Object serviceProxy)
          get CopyHelper with local sdo helper context
static commonj.sdo.helper.DataFactory getDataFactory(java.lang.Object serviceProxy)
          get DataFactory with local sdo helper context
static commonj.sdo.helper.DataHelper getDataHelper(java.lang.Object serviceProxy)
          get DataHelper with local sdo helper context
static commonj.sdo.helper.EqualityHelper getEqualityHelper(java.lang.Object serviceProxy)
          get EqualityHelper with local sdo helper context
static commonj.sdo.helper.HelperContext getHelperContext(java.lang.Object serviceProxy)
          get local sdo helper context
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment)
           
static java.lang.Throwable getRootException(java.lang.Throwable exp)
           
static java.lang.Object getServiceProxy(java.lang.String serviceName)
           
static commonj.sdo.helper.TypeHelper getTypeHelper(java.lang.Object serviceProxy)
          get TypeHelper with local sdo helper context
static commonj.sdo.helper.XMLHelper getXMLHelper(java.lang.Object serviceProxy)
          get XMLHelper with local sdo helper context
static commonj.sdo.helper.XSDHelper getXSDHelper(java.lang.Object serviceProxy)
          get XSDHelper with local sdo helper context

 

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

 

Constructor Detail

ServiceFactory

public ServiceFactory()

Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable<?,?> environment)
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory

getRootException

public static java.lang.Throwable getRootException(java.lang.Throwable exp)

getServiceProxy

public static java.lang.Object getServiceProxy(java.lang.String serviceName)

getHelperContext

public static commonj.sdo.helper.HelperContext getHelperContext(java.lang.Object serviceProxy)
get local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
DataFactory with local sdo helper context

getDataFactory

public static commonj.sdo.helper.DataFactory getDataFactory(java.lang.Object serviceProxy)
get DataFactory with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
DataFactory with local sdo helper context

getXMLHelper

public static commonj.sdo.helper.XMLHelper getXMLHelper(java.lang.Object serviceProxy)
get XMLHelper with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
XMLHelper with local sdo helper context

getTypeHelper

public static commonj.sdo.helper.TypeHelper getTypeHelper(java.lang.Object serviceProxy)
get TypeHelper with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
XMLHelper with local sdo helper context

getDataHelper

public static commonj.sdo.helper.DataHelper getDataHelper(java.lang.Object serviceProxy)
get DataHelper with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
DataHelper with local sdo helper context

getCopyHelper

public static commonj.sdo.helper.CopyHelper getCopyHelper(java.lang.Object serviceProxy)
get CopyHelper with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
CopyHelper with local sdo helper context

getXSDHelper

public static commonj.sdo.helper.XSDHelper getXSDHelper(java.lang.Object serviceProxy)
get XSDHelper with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
XSDHelper with local sdo helper context

getEqualityHelper

public static commonj.sdo.helper.EqualityHelper getEqualityHelper(java.lang.Object serviceProxy)
get EqualityHelper with local sdo helper context
Parameters:
serviceProxy - the proxy class obtained from SeviceFactory.getServiceProxy()
Returns:
EqualityHelper with local sdo helper context

createService

public Service createService(java.lang.String svcInfName,
                             java.lang.String jndiName,
                             java.lang.String schemaLocation,
                             java.lang.String schemaName)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.