|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.services.DevelopmentServices
public class DevelopmentServices
Purpose: Provide a dynamic interface into the TopLink Identity Map Manager.
Description: This class is ment to provide a framework for gaining access to configuration and statistics of the TopLink Cache during runtime. It will provide the basis for developement of a JMX service and possibly other frameworks.
Oc4jRuntimeServices
Constructor Summary | |
---|---|
DevelopmentServices()
Deprecated. Default constructor |
|
DevelopmentServices(oracle.toplink.internal.sessions.AbstractSession session)
Deprecated. Constructor |
Method Summary | |
---|---|
boolean |
getChangeSetPropagationShouldBeAsynchronous()
Deprecated. This method indicates if Propigation of Cache Synch messages should be Asynchronous or not |
boolean |
getShouldBindAllParameters()
Deprecated. Method returns if all Parameters should be bound or not |
boolean |
getShouldRemoveConnectionOnError()
Deprecated. This method indicates if remote connections should be dropped when there is an error. |
int |
getStringBindingSize()
Deprecated. Return the size of strings after which will be bound into the statement |
boolean |
getUsesBatchWriting()
Deprecated. This method will return if batchWriting is in use or not. |
boolean |
getUsesByteArrayBinding()
Deprecated. Shows if Byte Array Binding is turned on or not |
boolean |
getUsesJDBCBatchWriting()
Deprecated. This method will return if batchWriting is in use or not. |
boolean |
getUsesNativeSQL()
Deprecated. Shows if native SQL is being used |
boolean |
getUsesStreamsForBinding()
Deprecated. This method indicates if streams are being used for binding |
boolean |
getUsesStringBinding()
Deprecated. This method indicates if Strings are being bound |
void |
initializeAllIdentityMaps()
Deprecated. This method is used to clear the contents of all identity maps. |
void |
initializeCacheSynchronizationServices()
Deprecated. This method will be used by clients to restart their synchronization service for a particular session. |
void |
initializeIdentityMap(java.lang.String className)
Deprecated. This method is used to clear the contents of a particular identity map. |
void |
refreshProject(java.lang.String projectFilePath)
Deprecated. This method used to reset a project in a session. |
void |
setChangeSetPropagationShouldBeAsynchronous(boolean isAsynchronous)
Deprecated. This method is used to modify the cache synchronization feature. |
void |
setIdentityMapForClass(java.lang.String className,
java.lang.String identityMapClassType,
int maxSize)
Deprecated. This method will be used to set a new type of identity map for a particular class type. |
void |
setShouldBindAllParameters(boolean shouldBindAllParameters)
Deprecated. This method is used to control if All parameters should be bound |
void |
setShouldRemoveConnectionOnError(boolean shouldRemoveConnection)
Deprecated. This method is used to modify the cache synchronization feature. |
void |
setStringBindingSize(int size)
Deprecated. Sets the size of strings after which they will be bound into the statement |
void |
setUsesBatchWriting(boolean usesBatchWriting)
Deprecated. This method is used to turn on TopLink Batch Writing. |
void |
setUsesByteArrayBinding(boolean usesByteArrayBinding)
Deprecated. This method allows control of weither byte arrays should be bound into the statement or not. |
void |
setUsesJDBCBatchWriting(boolean usesJDBCBatchWriting)
Deprecated. This method is used to turn on JDBC Batch Writing. |
void |
setUsesNativeSQL(boolean usesNativeSQL)
Deprecated. This method allows the client to set if Native SQL should be used. |
void |
setUsesStreamsForBinding(boolean usesStreamsForBinding)
Deprecated. This method is used to set if streams should be used for binding. |
void |
setUsesStringBinding(boolean usesStringBinding)
Deprecated. Allows the client to set if String should be bound into the statement or not. |
void |
updateCacheSize(java.lang.String className,
int newSize)
Deprecated. This method is used to update the cache size of a particular Identity Map |
void |
updateSynchronizationDiscoveryMulticastGroup(java.lang.String multicastIP,
int multicastPort)
Deprecated. This method will be used to update the multicast group of the Synchronization Service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DevelopmentServices()
public DevelopmentServices(oracle.toplink.internal.sessions.AbstractSession session)
session
- the session for these servicesMethod Detail |
---|
public void initializeIdentityMap(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the fully qualified name of the class for which the identity map should be cleared.
java.lang.ClassNotFoundException
- thrown then the IdenityMap for that class name could not be foundpublic void initializeAllIdentityMaps()
public void setIdentityMapForClass(java.lang.String className, java.lang.String identityMapClassType, int maxSize) throws java.lang.ClassNotFoundException
className
- the fully qualified className to set the identity map for.identityMapClassType
- the fully qualified class name of the new identity map type.maxSize
- the maximum size to be specified for the new idenity map.
java.lang.ClassNotFoundException
- thrown then the IdenityMap for that class name could not be foundpublic void refreshProject(java.lang.String projectFilePath)
projectFilePath
- the filename of the project xml file to build the new project from.public void updateCacheSize(java.lang.String className, int newSize) throws java.lang.ClassNotFoundException
className
- the name of the class for which to update the identity map size.
java.lang.ClassNotFoundException
public void setChangeSetPropagationShouldBeAsynchronous(boolean isAsynchronous)
isAsynchronous
- should be set to true for Asynchronous updates and false otherwise.public boolean getChangeSetPropagationShouldBeAsynchronous()
public void setShouldRemoveConnectionOnError(boolean shouldRemoveConnection)
shouldRemoveConnection
- should be set to true if the connection should be removed on an error. Should be set to false if the connection
should be maintainedpublic boolean getShouldRemoveConnectionOnError()
public void updateSynchronizationDiscoveryMulticastGroup(java.lang.String multicastIP, int multicastPort)
multicastIP
- the IP address of the Multicast servermulticastPort
- the port to connect to on the Multicast serverpublic void initializeCacheSynchronizationServices() throws SynchronizationException
SynchronizationException
public void setShouldBindAllParameters(boolean shouldBindAllParameters)
public boolean getShouldBindAllParameters()
public void setStringBindingSize(int size)
public int getStringBindingSize()
public void setUsesBatchWriting(boolean usesBatchWriting)
public boolean getUsesBatchWriting()
public void setUsesJDBCBatchWriting(boolean usesJDBCBatchWriting)
public boolean getUsesJDBCBatchWriting()
public void setUsesByteArrayBinding(boolean usesByteArrayBinding)
public boolean getUsesByteArrayBinding()
public void setUsesNativeSQL(boolean usesNativeSQL)
public boolean getUsesNativeSQL()
public void setUsesStreamsForBinding(boolean usesStreamsForBinding)
public boolean getUsesStreamsForBinding()
public void setUsesStringBinding(boolean usesStringBinding)
public boolean getUsesStringBinding()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |