Java Doc for ProxyManager.java in  » Database-ORM » openjpa » org » apache » openjpa » util » 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 » Database ORM » openjpa » org.apache.openjpa.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.openjpa.util.ProxyManager

All known Subclasses:   org.apache.openjpa.util.ProxyManagerImpl,
ProxyManager
public interface ProxyManager (Code)
Manager for copying and proxying second class objects. Second class objects are those that are often used as fields of persistent or transactional instances, and which can themselves be modified without resetting the owning class' field. Because these types can change without an explicit call to the owning persistence capable instance, special care must be taken to ensure that their state is managed correctly. Specifically, they must be copied when saving state for rollback, and they must be proxied for any instance whose state is managed by a state manager, where proxying involves creating a second class object that automaticlly notifies its owning instance whenever it is modified. Generally, this factory is only used by the implementation; second class object handling is transparent to client code.
author:
   Abe White




Method Summary
public  ObjectcopyArray(Object orig)
     Return a new array of the same component type as the given array and containing the same elements.
public  CalendarcopyCalendar(Calendar orig)
     Return a copy of the given calendar with the same information.
public  CollectioncopyCollection(Collection orig)
     Return a new collection of the same type as the given one with a copy of all contained elements.
public  ObjectcopyCustom(Object orig)
     Return a copy of the given object with the same information, or null if this manager cannot copy the object.
public  DatecopyDate(Date orig)
     Return a copy of the given date with the same information.
public  MapcopyMap(Map orig)
     Return a new map of the same type as the given one with a copy of all contained key/value pairs.
public  ProxynewCalendarProxy(Class type, TimeZone timeZone)
     Return a new calendar proxy.
public  ProxynewCollectionProxy(Class type, Class elementType, Comparator compare)
     Return a proxy for the given collection type.
public  ProxynewCustomProxy(Object obj)
     Return a proxy for the given object, or null if this manager cannot proxy the object.
public  ProxynewDateProxy(Class type)
     Return a new date proxy.
public  ProxynewMapProxy(Class type, Class keyType, Class valueType, Comparator compare)
     Return a proxy for the given map type.



Method Detail
copyArray
public Object copyArray(Object orig)(Code)
Return a new array of the same component type as the given array and containing the same elements. Works for both primitive and object array types.



copyCalendar
public Calendar copyCalendar(Calendar orig)(Code)
Return a copy of the given calendar with the same information.



copyCollection
public Collection copyCollection(Collection orig)(Code)
Return a new collection of the same type as the given one with a copy of all contained elements.



copyCustom
public Object copyCustom(Object orig)(Code)
Return a copy of the given object with the same information, or null if this manager cannot copy the object.
since:
   0.2.5



copyDate
public Date copyDate(Date orig)(Code)
Return a copy of the given date with the same information.



copyMap
public Map copyMap(Map orig)(Code)
Return a new map of the same type as the given one with a copy of all contained key/value pairs.



newCalendarProxy
public Proxy newCalendarProxy(Class type, TimeZone timeZone)(Code)
Return a new calendar proxy.



newCollectionProxy
public Proxy newCollectionProxy(Class type, Class elementType, Comparator compare)(Code)
Return a proxy for the given collection type. The returned collection will allow only addition of elements assignable from the given element type and will use the given comparator, if it is not null.



newCustomProxy
public Proxy newCustomProxy(Object obj)(Code)
Return a proxy for the given object, or null if this manager cannot proxy the object.
since:
   0.2.5



newDateProxy
public Proxy newDateProxy(Class type)(Code)
Return a new date proxy.



newMapProxy
public Proxy newMapProxy(Class type, Class keyType, Class valueType, Comparator compare)(Code)
Return a proxy for the given map type. The returned map will allow only addition of keys/values assignable from the given keyType/valueType, and will use the given comparator, if it is not null.



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