Java Doc for TransparencyClassSpec.java in  » Net » Terracotta » com » tc » object » config » 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.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.tc.object.config.TransparencyClassSpec

All known Subclasses:   com.tc.object.config.TransparencyClassSpecImpl,
TransparencyClassSpec
public interface TransparencyClassSpec (Code)
Configure and describe the custom adaption of a class


Field Summary
final public static  byteADAPTABLE
    
final public static  byteNOT_ADAPTABLE
    
final public static  byteNOT_SET
    
final public static  bytePORTABLE
    


Method Summary
public  voidaddAlwaysLogSpec(String name)
    
public  voidaddArrayCopyMethodCodeSpec(String name)
    
public  voidaddDateMethodLogSpec(String name)
    
public  voidaddDateMethodLogSpec(String name, int methodSpec)
    
public  TransparencyClassSpecaddDistributedMethodCall(String methodName, String description, boolean runOnAllNodes)
    
public  voidaddDoNotInstrument(String methodName)
    
public  voidaddEntrySetWrapperSpec(String name)
    
public  voidaddHashMapPutLogSpec(String name)
    
public  voidaddHashMapRemoveLogSpec(String name)
    
public  voidaddHashtableClearLogSpec(String name)
    
public  voidaddHashtablePutLogSpec(String name)
    
public  voidaddHashtableRemoveLogSpec(String name)
    
public  voidaddIfTrueLogSpec(String name)
    
public  voidaddKeySetWrapperSpec(String name)
    
public  TransparencyClassSpecaddMethodAdapter(String method, MethodAdapter adapter)
    
public  voidaddMethodCodeSpec(String name, TransparencyCodeSpec codeSpec)
    
public  TransparencyClassSpecaddRoot(String variableName, String rootName)
    
public  TransparencyClassSpecaddRoot(String variableName, String rootName, boolean dsoFinal)
    
public  voidaddSetIteratorWrapperSpec(String name)
    
public  TransparencyClassSpecaddSupportMethodCreator(MethodCreator creator)
    
public  voidaddTHashMapPutLogSpec(String name)
    
public  voidaddTHashRemoveAtLogSpec(String name)
    
public  voidaddTHashSetAddLogSpec(String name)
    
public  voidaddTHashSetRemoveAtLogSpec(String name)
    
public  TransparencyClassSpecaddTransient(String variableName)
    
public  voidaddValuesWrapperSpec(String name)
    
public  voidaddViewSetWrapperSpec(String name)
    
public  LockDefinitionautoLockDefinitionFor(MethodInfo methodInfo)
    
public  voidcreateClassSupportMethods(ClassVisitor classVisitor)
    
public  MethodAdaptercustomMethodAdapterFor(ManagerHelper managerHelper, int access, String methodName, String origMethodName, String description, String signature, String[] exceptions, InstrumentationLogger logger, MemberInfo memberInfo)
    
public  voiddisableWaitNotifyCodeSpec(String name)
    
public  booleandoNotInstrument(String methodName)
    
public  LockDefinitiongetAutoLockDefinition(LockDefinition lds)
    
public  StringgetChangeApplicatorClassName()
    
public  ChangeApplicatorSpecgetChangeApplicatorSpec()
    
public  StringgetClassName()
    
public  TransparencyClassSpecgetClassSpec(String superName)
    
public  TransparencyCodeSpecgetCodeSpec(String methodName, String description, boolean isAutolock)
    
public  ClassAdapterFactorygetCustomClassAdapter()
    
public  bytegetInstrumentationAction()
    
public  LockDefinitiongetLockMethodLockDefinition(int access, LockDefinition lds)
    
public  StringgetLogicalExtendingClassName()
    
public  LockDefinitiongetNonAutoLockDefinition(LockDefinition lds)
    
public  StringgetOnLoadExecuteScript()
    
public  StringgetOnLoadMethod()
    
public  StringgetPostCreateMethod()
    
public  StringgetPreCreateMethod()
    
public  booleanhasCustomMethodAdapter(MemberInfo memberInfo)
    
public  booleanhasPhysicallyPortableSpecs(ClassInfo classInfo)
    
public  booleanignoreChecks()
    
public  booleanisCallConstructorOnLoad()
    
public  booleanisCallConstructorSet()
    
public  booleanisCallMethodOnLoadSet()
    
public  booleanisExecuteScriptOnLoadSet()
    
public  booleanisHonorJDKSubVersionSpecific()
    
public  booleanisHonorJavaTransient()
    
public  booleanisHonorTransientSet()
    
public  booleanisHonorVolatile()
    
public  booleanisHonorVolatileSet()
    
public  booleanisLockMethod(MemberInfo memberInfo)
    
public  booleanisLogical()
    
public  booleanisPhysical()
    
public  booleanisPreInstrumented()
    
public  booleanisRoot(FieldInfo fieldInfo)
    
public  booleanisRootDSOFinal(FieldInfo fieldInfo)
    
public  booleanisRootInThisClass(FieldInfo fieldInfo)
    
public  booleanisTransient(int access, ClassInfo classInfo, String fieldName)
    
public  booleanisUseNonDefaultConstructor()
    
public  booleanisVolatile(int access, ClassInfo classInfo, String fieldName)
    
public  LockDefinition[]lockDefinitionsFor(MemberInfo memberInfo)
    
public  TransparencyClassSpecmarkPreInstrumented()
     Mark this class spec as being preinstrumented.
public  voidmoveToLogical(TransparencyClassSpec superClassSpec)
    
public  StringrootNameFor(FieldInfo fieldInfo)
    
public  TransparencyClassSpecsetCallConstructorOnLoad(boolean b)
    
public  TransparencyClassSpecsetCallMethodOnLoad(String method)
    
public  voidsetCustomClassAdapter(ClassAdapterFactory customClassAdapter)
    
public  TransparencyClassSpecsetExecuteScriptOnLoad(String script)
    
public  voidsetHonorJDKSubVersionSpecific(boolean honorJDKSubVersionSpecific)
    
public  TransparencyClassSpecsetHonorTransient(boolean b)
    
public  TransparencyClassSpecsetHonorVolatile(boolean b)
    
public  voidsetInstrumentationAction(byte action)
    
public  voidsetPostCreateMethod(String postCreateMethod)
    
public  voidsetPreCreateMethod(String preCreateMethod)
    
public  voidsetUseNonDefaultConstructor(boolean useNonDefaultConstructor)
    

Field Detail
ADAPTABLE
final public static byte ADAPTABLE(Code)



NOT_ADAPTABLE
final public static byte NOT_ADAPTABLE(Code)



NOT_SET
final public static byte NOT_SET(Code)



PORTABLE
final public static byte PORTABLE(Code)





Method Detail
addAlwaysLogSpec
public void addAlwaysLogSpec(String name)(Code)
Add logical method adapter to always log access to method
Parameters:
  name - Method signature



addArrayCopyMethodCodeSpec
public void addArrayCopyMethodCodeSpec(String name)(Code)
Add logical method adapter to log calls to System.arraycopy()
Parameters:
  name - Method signature



addDateMethodLogSpec
public void addDateMethodLogSpec(String name)(Code)
Add logical method adapter to log calls to Date.setTime()
Parameters:
  name - Method signature



addDateMethodLogSpec
public void addDateMethodLogSpec(String name, int methodSpec)(Code)
Add logical method adapter to log calls to Date.setTime() in subclasses
Parameters:
  name - Method signature



addDistributedMethodCall
public TransparencyClassSpec addDistributedMethodCall(String methodName, String description, boolean runOnAllNodes)(Code)
Add distributed method call
Parameters:
  methodName - Method
Parameters:
  description - Method signature
Parameters:
  runOnAllNodes - True to run on all nodes, false for local this



addDoNotInstrument
public void addDoNotInstrument(String methodName)(Code)
Mark method as not instrumented
Parameters:
  methodName -



addEntrySetWrapperSpec
public void addEntrySetWrapperSpec(String name)(Code)
Add logical method adapter to log calls to Map.entrySet() on Map impls
Parameters:
  name - Method signature



addHashMapPutLogSpec
public void addHashMapPutLogSpec(String name)(Code)
Add logical method adapter to log calls to Map.put() on Map impls
Parameters:
  name - Method signature



addHashMapRemoveLogSpec
public void addHashMapRemoveLogSpec(String name)(Code)
Add logical method adapter to log calls to HashMap.remove()
Parameters:
  name - Method signature



addHashtableClearLogSpec
public void addHashtableClearLogSpec(String name)(Code)
Add logical method adapter to log calls to Hashtable.clear()
Parameters:
  name - Method signature



addHashtablePutLogSpec
public void addHashtablePutLogSpec(String name)(Code)
Add logical method adapter to log calls to Hashtable.put()
Parameters:
  name - Method signature



addHashtableRemoveLogSpec
public void addHashtableRemoveLogSpec(String name)(Code)
Add logical method adapter to log calls to Hashtable.remove()
Parameters:
  name - Method signature



addIfTrueLogSpec
public void addIfTrueLogSpec(String name)(Code)
Add logical method adapter to log if method returns true
Parameters:
  name - Method signature



addKeySetWrapperSpec
public void addKeySetWrapperSpec(String name)(Code)
Add logical method adapter to log calls to Map.keySet() on Map impls
Parameters:
  name - Method signature



addMethodAdapter
public TransparencyClassSpec addMethodAdapter(String method, MethodAdapter adapter)(Code)
Add method adapter
Parameters:
  method - Method name
Parameters:
  adapter - The adapter this



addMethodCodeSpec
public void addMethodCodeSpec(String name, TransparencyCodeSpec codeSpec)(Code)
Add method code specification
Parameters:
  name - Method name
Parameters:
  codeSpec - Transparency spec



addRoot
public TransparencyClassSpec addRoot(String variableName, String rootName)(Code)
Add root field
Parameters:
  variableName - Field name
Parameters:
  rootName - Root name this



addRoot
public TransparencyClassSpec addRoot(String variableName, String rootName, boolean dsoFinal)(Code)
Add root field
Parameters:
  variableName - Field name
Parameters:
  rootName - Root name
Parameters:
  dsoFinal - True if final this



addSetIteratorWrapperSpec
public void addSetIteratorWrapperSpec(String name)(Code)
Add logical method adapter to log calls to Set.iterator() impls
Parameters:
  name - Method signature



addSupportMethodCreator
public TransparencyClassSpec addSupportMethodCreator(MethodCreator creator)(Code)
Add support method creator
Parameters:
  creator - Creator this



addTHashMapPutLogSpec
public void addTHashMapPutLogSpec(String name)(Code)
Add logical method adapter to log calls to THashMap.put()
Parameters:
  name - Method signature



addTHashRemoveAtLogSpec
public void addTHashRemoveAtLogSpec(String name)(Code)
Add logical method adapter to log calls to THash.removeAt()
Parameters:
  name - Method signature



addTHashSetAddLogSpec
public void addTHashSetAddLogSpec(String name)(Code)
Add logical method adapter to log calls to THashSet.add()
Parameters:
  name - Method signature



addTHashSetRemoveAtLogSpec
public void addTHashSetRemoveAtLogSpec(String name)(Code)
Add logical method adapter to log calls to THashSet.removeAt()
Parameters:
  name - Method signature



addTransient
public TransparencyClassSpec addTransient(String variableName)(Code)
Add a transient field
Parameters:
  variableName - Field name this



addValuesWrapperSpec
public void addValuesWrapperSpec(String name)(Code)
Add logical method adapter to log calls to Map.values() on Map impls
Parameters:
  name - Method signature



addViewSetWrapperSpec
public void addViewSetWrapperSpec(String name)(Code)
Add logical method adapter to log calls to Set.subSet() on impls
Parameters:
  name - Method signature



autoLockDefinitionFor
public LockDefinition autoLockDefinitionFor(MethodInfo methodInfo)(Code)
Get auto lock definition for member
Parameters:
  memberInfo - Member Auto lock



createClassSupportMethods
public void createClassSupportMethods(ClassVisitor classVisitor)(Code)
Call support method creators and add to the class via the visitor
Parameters:
  classVisitor - Class visitor



customMethodAdapterFor
public MethodAdapter customMethodAdapterFor(ManagerHelper managerHelper, int access, String methodName, String origMethodName, String description, String signature, String[] exceptions, InstrumentationLogger logger, MemberInfo memberInfo)(Code)
Get custom method adapter
Parameters:
  managerHelper - Manager helper
Parameters:
  access - Access modifiers
Parameters:
  methodName - Method name
Parameters:
  origMethodName - Original method name
Parameters:
  description - Method description
Parameters:
  signature - Method signature
Parameters:
  exceptions - Exceptions thrown
Parameters:
  logger - Logger
Parameters:
  memberInfo - Method Custom adapter



disableWaitNotifyCodeSpec
public void disableWaitNotifyCodeSpec(String name)(Code)
Add logical method adapter to disable wait/notify code
Parameters:
  name - Method signature



doNotInstrument
public boolean doNotInstrument(String methodName)(Code)
Check whether method is marked as do not instrument
Parameters:
  methodName - Method name True if do not instrument



getAutoLockDefinition
public LockDefinition getAutoLockDefinition(LockDefinition lds)(Code)
Examine lock definitions to find the the one that makes the method autolocked
Parameters:
  lds - Lock defs null if no LockDefinitions exists that makes the method autolocked.



getChangeApplicatorClassName
public String getChangeApplicatorClassName()(Code)
Get name of change applicator class



getChangeApplicatorSpec
public ChangeApplicatorSpec getChangeApplicatorSpec()(Code)
Change applicator specification



getClassName
public String getClassName()(Code)
Get the class name for this spec Name



getClassSpec
public TransparencyClassSpec getClassSpec(String superName)(Code)
Get spec for super class
Parameters:
  superName - Super class name Class spec for super class



getCodeSpec
public TransparencyCodeSpec getCodeSpec(String methodName, String description, boolean isAutolock)(Code)
Find code spec for method
Parameters:
  methodName - Method name
Parameters:
  description - Method signature
Parameters:
  isAutolock - True if autolocked Transparency spec



getCustomClassAdapter
public ClassAdapterFactory getCustomClassAdapter()(Code)
Get custom class adapter factory Adapter factory



getInstrumentationAction
public byte getInstrumentationAction()(Code)
Get instrumentation action Action code ADAPTABLE, etc



getLockMethodLockDefinition
public LockDefinition getLockMethodLockDefinition(int access, LockDefinition lds)(Code)
Get lock definition for locked method
Parameters:
  access - Access modifiers
Parameters:
  lds - Lock defs Lock definition



getLogicalExtendingClassName
public String getLogicalExtendingClassName()(Code)
Logical class being extended



getNonAutoLockDefinition
public LockDefinition getNonAutoLockDefinition(LockDefinition lds)(Code)
Find lock definition that makes method not autolocked
Parameters:
  lds - Lock defs Lock def or null if none



getOnLoadExecuteScript
public String getOnLoadExecuteScript()(Code)
Get on load execute script to execute



getOnLoadMethod
public String getOnLoadMethod()(Code)
Get on load method to call



getPostCreateMethod
public String getPostCreateMethod()(Code)
Get method to call post-create Method name



getPreCreateMethod
public String getPreCreateMethod()(Code)
Get method to call prior to create Method name



hasCustomMethodAdapter
public boolean hasCustomMethodAdapter(MemberInfo memberInfo)(Code)
Check if has custom method adapter
Parameters:
  memberInfo - Method True if has custom adapter



hasPhysicallyPortableSpecs
public boolean hasPhysicallyPortableSpecs(ClassInfo classInfo)(Code)

Parameters:
  classInfo - Class information True if physically instrumented and portable



ignoreChecks
public boolean ignoreChecks()(Code)
True if checks should be ignored (only for special classes)



isCallConstructorOnLoad
public boolean isCallConstructorOnLoad()(Code)
Get value of call constructor on load flag



isCallConstructorSet
public boolean isCallConstructorSet()(Code)
True if call constructor flag is set



isCallMethodOnLoadSet
public boolean isCallMethodOnLoadSet()(Code)
True if call method on load flag is set



isExecuteScriptOnLoadSet
public boolean isExecuteScriptOnLoadSet()(Code)
True if execute script on load flag is set



isHonorJDKSubVersionSpecific
public boolean isHonorJDKSubVersionSpecific()(Code)
True if should honor JDK sub versions



isHonorJavaTransient
public boolean isHonorJavaTransient()(Code)
True if should honor transient



isHonorTransientSet
public boolean isHonorTransientSet()(Code)
True if is honor transient flag is set



isHonorVolatile
public boolean isHonorVolatile()(Code)
Value of is honor flag



isHonorVolatileSet
public boolean isHonorVolatileSet()(Code)
True if is honor flag set



isLockMethod
public boolean isLockMethod(MemberInfo memberInfo)(Code)
Check whether this method is a locked method
Parameters:
  memberInfo - Method True if locked



isLogical
public boolean isLogical()(Code)
True if logical



isPhysical
public boolean isPhysical()(Code)
True if physical



isPreInstrumented
public boolean isPreInstrumented()(Code)
Check whether this class is preinstrumented True if preinstrumented



isRoot
public boolean isRoot(FieldInfo fieldInfo)(Code)
Check whether a field is a root in this class
Parameters:
  fieldInfo - Field True if root



isRootDSOFinal
public boolean isRootDSOFinal(FieldInfo fieldInfo)(Code)
Check whether a field is a DSO final root
Parameters:
  fieldInfo - Field True if DSO final root



isRootInThisClass
public boolean isRootInThisClass(FieldInfo fieldInfo)(Code)
Check whether a field is a root in this class
Parameters:
  fieldInfo - Field True if root



isTransient
public boolean isTransient(int access, ClassInfo classInfo, String fieldName)(Code)
Check whether a field is transient
Parameters:
  access - Access modifiers
Parameters:
  classInfo - Class info
Parameters:
  fieldName - Field name True if transient



isUseNonDefaultConstructor
public boolean isUseNonDefaultConstructor()(Code)
True if should use non-default constrcutor



isVolatile
public boolean isVolatile(int access, ClassInfo classInfo, String fieldName)(Code)
Check whether a field is volatile
Parameters:
  access - Access modifiers
Parameters:
  classInfo - Class info
Parameters:
  fieldName - Field name True if volatile



lockDefinitionsFor
public LockDefinition[] lockDefinitionsFor(MemberInfo memberInfo)(Code)
Get lock definitions for member
Parameters:
  memberInfo - Member Locks



markPreInstrumented
public TransparencyClassSpec markPreInstrumented()(Code)
Mark this class spec as being preinstrumented. this



moveToLogical
public void moveToLogical(TransparencyClassSpec superClassSpec)(Code)
Make this class extend a logically managed class
Parameters:
  superClassSpec - The logically managed super class



rootNameFor
public String rootNameFor(FieldInfo fieldInfo)(Code)

Parameters:
  fieldInfo - Field Root name for field



setCallConstructorOnLoad
public TransparencyClassSpec setCallConstructorOnLoad(boolean b)(Code)
Set call constructor on load flag
Parameters:
  b - New value this



setCallMethodOnLoad
public TransparencyClassSpec setCallMethodOnLoad(String method)(Code)
Set method to call on load
Parameters:
  method - Method name this



setCustomClassAdapter
public void setCustomClassAdapter(ClassAdapterFactory customClassAdapter)(Code)
Set custom class adapter factory
Parameters:
  customClassAdapter - Custom factory



setExecuteScriptOnLoad
public TransparencyClassSpec setExecuteScriptOnLoad(String script)(Code)
Set execute script on load flag
Parameters:
  script - Script to load this



setHonorJDKSubVersionSpecific
public void setHonorJDKSubVersionSpecific(boolean honorJDKSubVersionSpecific)(Code)

Parameters:
  honorJDKSubVersionSpecific - True to honor



setHonorTransient
public TransparencyClassSpec setHonorTransient(boolean b)(Code)
Set honor transient flag
Parameters:
  b - New flag value this



setHonorVolatile
public TransparencyClassSpec setHonorVolatile(boolean b)(Code)
Set honor volatile flag
Parameters:
  b - New flag value this



setInstrumentationAction
public void setInstrumentationAction(byte action)(Code)
Set instrumentation action
Parameters:
  action - Action constants defined in TransparencyClassSpecImpl



setPostCreateMethod
public void setPostCreateMethod(String postCreateMethod)(Code)
Set method to call post-create
Parameters:
  postCreateMethod - Method name



setPreCreateMethod
public void setPreCreateMethod(String preCreateMethod)(Code)
Set method to call pre-create
Parameters:
  preCreateMethod - Method name



setUseNonDefaultConstructor
public void setUseNonDefaultConstructor(boolean useNonDefaultConstructor)(Code)
Set to use non default constructor
Parameters:
  useNonDefaultConstructor - True to use non-default



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