|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.StringManagerFactory
public class StringManagerFactory
The factory for creating StringManager instances.
This class is used by the framework to create an instance when the client attempts to establish a connection to the database. Applications may provide custom StringManager implementations. Such applications will need to subclass this class and StringManagerImpl.
The framework calls the getFactory()
method to get the currently installed factory, and calls its create() method
to establish a connection.
This class has a single active instance, which cannot be replaced.
StringManager
,
StringManagerImpl
,
StringManagerImpl
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected StringManagerFactory()
Method Detail |
---|
public static void setFactory(StringManagerFactory impl) throws java.lang.IllegalArgumentException
impl
- The subclassed factory implementation to be used
java.lang.IllegalArgumentException
- if the instance is already createdgetFactory()
public static StringManagerFactory getFactory()
public StringManager create()
StringManager.StringManager()
,
Transaction.connect(String)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |