|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ManagerFactory
creates and maintains an InitialPersistenceManager
, as well as a pool of QueryManager
and MetadataManager
objects for a particular user session. You can get the ManagerFactory
for your application by calling the getManagerFactory
of the BISession
object.
BISession.getManagerFactory()
Field Summary | |
static int |
METADATA_MANAGER Manager type: MetadataManager |
static int |
PERSISTENCE_MANAGER Manager type: InitialPersistenceManager . |
static int |
QUERY_MANAGER Manager type: QueryManager |
Method Summary | |
java.lang.Object |
lookupManager(int managerType, java.lang.String name, boolean useSharedPool) Returns a named manager. |
Field Detail |
public static final int PERSISTENCE_MANAGER
InitialPersistenceManager
.public static final int METADATA_MANAGER
MetadataManager
public static final int QUERY_MANAGER
QueryManager
Method Detail |
public java.lang.Object lookupManager(int managerType, java.lang.String name, boolean useSharedPool) throws java.lang.Exception
true
as the useSharedPool
parameter, then this ManagerFactory
first looks in the pool of managers of the specified type for the named manager. If it does not find the manager, then the ManagerFactory
instantiates the manager and adds it to the pool.
If you pass false
as the useSharedPool
parameter, then this ManagerFactory
does not look in the pool. Instead, it creates a new instance, and it does not add the instance to the pool.
managerType
- A constant that represents the type of manager that you want. Valid values are listed in the See Also section.name
- The name of the manager object.useSharedPool
- true
to use an existing manager, if one exists, false
to create a new instance, without adding it to the pool of available managers.java.lang.Exception
- if an error occurred while loading the manager object.PERSISTENCE_MANAGER
, METADATA_MANAGER
, QUERY_MANAGER
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |