Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.common
Class StringManagerFactory

java.lang.Object
  extended by oracle.jbo.common.StringManagerFactory

public class StringManagerFactory
extends java.lang.Object


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Constructor Summary
protected StringManagerFactory()
           
 
Method Summary
 StringManager create()
          Instantiates a StringManager object.
static StringManagerFactory getFactory()
          Returns the installed factory using setFactory().
static void setFactory(StringManagerFactory impl)
          Establishes the custom factory instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
Constructor Detail

StringManagerFactory

protected StringManagerFactory()
Method Detail

setFactory

public static void setFactory(StringManagerFactory impl)
                       throws java.lang.IllegalArgumentException
Establishes the custom factory instance. The substitution can only be done once before the getFactory() method is called.

Parameters:
impl - The subclassed factory implementation to be used
Throws:
java.lang.IllegalArgumentException - if the instance is already created
See Also:
getFactory()

getFactory

public static StringManagerFactory getFactory()
Returns the installed factory using setFactory(). If no factory is installed creates and sets the default instance.

Returns:
StringManagerFactory singleton

create

public StringManager create()
Instantiates a StringManager object.

Returns:
The newly created StringManager instance.
See Also:
StringManager.StringManager(), Transaction.connect(String)

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

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