Java Doc for ClientObjectManagerImpl.java in  » Net » Terracotta » com » tc » object » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Terracotta » com.tc.object 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tc.object.ClientObjectManagerImpl

ClientObjectManagerImpl
public class ClientObjectManagerImpl implements ClientObjectManager,PortableObjectProvider,Evictable(Code)



Constructor Summary
public  ClientObjectManagerImpl(RemoteObjectManager remoteObjectManager, DSOClientConfigHelper clientConfiguration, ObjectIDProvider idProvider, EvictionPolicy cache, RuntimeLogger runtimeLogger, ChannelIDProvider provider, ClassProvider classProvider, TCClassFactory classFactory, TCObjectFactory objectFactory, Portability portability, DSOClientMessageChannel channel)
    

Method Summary
public synchronized  voidaddPendingCreateObjectsToTransaction()
    
public  voidcheckPortabilityOfField(Object fieldValue, String fieldName, Object pojo)
    
public  voidcheckPortabilityOfLogicalAction(Object[] params, int index, String methodName, Object pojo)
    
public  ObjectcloneAndInvokeLogicalOperation(Object pojo, String methodName, Object[] params)
     This is used by the senders of ApplicationEvents to provide a version of a logically-managed pojo in the state it would have been in had the ApplicationEvent not occurred.
public  ObjectcreateNewCopyInstance(Object source, Object parent)
    
public  WeakReferencecreateNewPeer(TCClass clazz, DNA dna)
    
public  WeakReferencecreateNewPeer(TCClass clazz, int size, ObjectID id, ObjectID parentID)
    
public  ObjectcreateOrReplaceRoot(String rootName, Object root)
     This method must be called within a DSO synchronized context.
public  ObjectcreateParentCopyInstanceIfNecessary(Map visited, Map cloned, Object v)
    
public  ObjectdeepCopy(Object source, OptimisticTransactionManager optimisticTxManager)
     Deep connected copy used to create stable views on collections of objects.
public  voidevictCache(CacheStats stat)
    
public synchronized  CollectiongetAllObjectIDsAndClear(Collection c)
    
public  ClassgetClassFor(String className, String loaderDesc)
    
public  TCClassgetOrCreateClass(Class clazz)
    
public  TraversedReferencesgetPortableObjects(Class clazz, Object start, TraversedReferences addTo)
    
public  ReferenceQueuegetReferenceQueue()
    
public  ClientTransactionManagergetTransactionManager()
    
public synchronized  booleanhasPendingCreateObjects()
    
public  booleanisCreationInProgress()
    
public  booleanisManaged(Object pojo)
    
public  booleanisPortableClass(Class clazz)
    
public  booleanisPortableInstance(Object obj)
    
public  TCObjectlookup(ObjectID id)
    
public synchronized  ObjectIDlookupExistingObjectID(Object pojo)
    
public  TCObjectlookupExistingOrNull(Object pojo)
    
public synchronized  TCObjectlookupIfLocal(ObjectID id)
    
public  ObjectlookupObject(ObjectID objectID)
    
public  ObjectlookupObject(ObjectID id, ObjectID parentContext)
    
public  ObjectlookupObjectNoDepth(ObjectID id)
    
public  TCObjectlookupOrCreate(Object pojo)
    
public  ObjectlookupOrCreateRoot(String rootName, Object root)
     Check to see if the root is already in existence on the server.
public  ObjectlookupOrCreateRoot(String rootName, Object root, boolean dsoFinal)
    
public  ObjectlookupOrCreateRootNoDepth(String rootName, Object root)
    
public  TCObjectlookupOrShare(Object pojo)
    
public  ObjectlookupRoot(String rootName)
    
public  voidmarkReferenced(TCObject tcobj)
    
public synchronized  voidpause()
    
public synchronized  voidreplaceRootIDIfNecessary(String rootName, ObjectID newRootID)
    
public  voidsendApplicationEvent(Object pojo, ApplicationEvent event)
    
public  voidsetTransactionManager(ClientTransactionManager txManager)
    
public  voidshutdown()
    
public synchronized  voidstarting()
    
public  voidstoreObjectHierarchy(Object root, ApplicationEventContext context)
    
public synchronized  voidunpause()
    


Constructor Detail
ClientObjectManagerImpl
public ClientObjectManagerImpl(RemoteObjectManager remoteObjectManager, DSOClientConfigHelper clientConfiguration, ObjectIDProvider idProvider, EvictionPolicy cache, RuntimeLogger runtimeLogger, ChannelIDProvider provider, ClassProvider classProvider, TCClassFactory classFactory, TCObjectFactory objectFactory, Portability portability, DSOClientMessageChannel channel)(Code)




Method Detail
addPendingCreateObjectsToTransaction
public synchronized void addPendingCreateObjectsToTransaction()(Code)



checkPortabilityOfField
public void checkPortabilityOfField(Object fieldValue, String fieldName, Object pojo) throws TCNonPortableObjectError(Code)



checkPortabilityOfLogicalAction
public void checkPortabilityOfLogicalAction(Object[] params, int index, String methodName, Object pojo) throws TCNonPortableObjectError(Code)



cloneAndInvokeLogicalOperation
public Object cloneAndInvokeLogicalOperation(Object pojo, String methodName, Object[] params)(Code)
This is used by the senders of ApplicationEvents to provide a version of a logically-managed pojo in the state it would have been in had the ApplicationEvent not occurred.



createNewCopyInstance
public Object createNewCopyInstance(Object source, Object parent)(Code)
Deep Clone support



createNewPeer
public WeakReference createNewPeer(TCClass clazz, DNA dna)(Code)



createNewPeer
public WeakReference createNewPeer(TCClass clazz, int size, ObjectID id, ObjectID parentID)(Code)



createOrReplaceRoot
public Object createOrReplaceRoot(String rootName, Object root)(Code)
This method must be called within a DSO synchronized context. Currently, this is called in a setter method of a replaceable root.



createParentCopyInstanceIfNecessary
public Object createParentCopyInstanceIfNecessary(Map visited, Map cloned, Object v)(Code)



deepCopy
public Object deepCopy(Object source, OptimisticTransactionManager optimisticTxManager)(Code)
Deep connected copy used to create stable views on collections of objects. While inefficient this should do that job. It is important that this method be called holding a distributed lock in order to prevent an unstable view. It also must be called in an optimistic transaction I'll probably move this out of the client object manager at some point but we'll see.



evictCache
public void evictCache(CacheStats stat)(Code)



getAllObjectIDsAndClear
public synchronized Collection getAllObjectIDsAndClear(Collection c)(Code)



getClassFor
public Class getClassFor(String className, String loaderDesc) throws ClassNotFoundException(Code)



getOrCreateClass
public TCClass getOrCreateClass(Class clazz)(Code)



getPortableObjects
public TraversedReferences getPortableObjects(Class clazz, Object start, TraversedReferences addTo)(Code)



getReferenceQueue
public ReferenceQueue getReferenceQueue()(Code)



getTransactionManager
public ClientTransactionManager getTransactionManager()(Code)



hasPendingCreateObjects
public synchronized boolean hasPendingCreateObjects()(Code)



isCreationInProgress
public boolean isCreationInProgress()(Code)



isManaged
public boolean isManaged(Object pojo)(Code)



isPortableClass
public boolean isPortableClass(Class clazz)(Code)



isPortableInstance
public boolean isPortableInstance(Object obj)(Code)



lookup
public TCObject lookup(ObjectID id) throws ClassNotFoundException(Code)



lookupExistingObjectID
public synchronized ObjectID lookupExistingObjectID(Object pojo)(Code)



lookupExistingOrNull
public TCObject lookupExistingOrNull(Object pojo)(Code)



lookupIfLocal
public synchronized TCObject lookupIfLocal(ObjectID id)(Code)



lookupObject
public Object lookupObject(ObjectID objectID) throws ClassNotFoundException(Code)



lookupObject
public Object lookupObject(ObjectID id, ObjectID parentContext) throws ClassNotFoundException(Code)



lookupObjectNoDepth
public Object lookupObjectNoDepth(ObjectID id) throws ClassNotFoundException(Code)



lookupOrCreate
public TCObject lookupOrCreate(Object pojo)(Code)



lookupOrCreateRoot
public Object lookupOrCreateRoot(String rootName, Object root)(Code)
Check to see if the root is already in existence on the server. If it is then get it if not then create it.



lookupOrCreateRoot
public Object lookupOrCreateRoot(String rootName, Object root, boolean dsoFinal)(Code)



lookupOrCreateRootNoDepth
public Object lookupOrCreateRootNoDepth(String rootName, Object root)(Code)



lookupOrShare
public TCObject lookupOrShare(Object pojo)(Code)



lookupRoot
public Object lookupRoot(String rootName)(Code)



markReferenced
public void markReferenced(TCObject tcobj)(Code)



pause
public synchronized void pause()(Code)



replaceRootIDIfNecessary
public synchronized void replaceRootIDIfNecessary(String rootName, ObjectID newRootID)(Code)



sendApplicationEvent
public void sendApplicationEvent(Object pojo, ApplicationEvent event)(Code)



setTransactionManager
public void setTransactionManager(ClientTransactionManager txManager)(Code)



shutdown
public void shutdown()(Code)



starting
public synchronized void starting()(Code)



storeObjectHierarchy
public void storeObjectHierarchy(Object root, ApplicationEventContext context)(Code)



unpause
public synchronized void unpause()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.