Java Doc for StandardDSOClientConfigHelperImpl.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) 


java.lang.Object
   com.tc.object.config.StandardDSOClientConfigHelperImpl

StandardDSOClientConfigHelperImpl
public class StandardDSOClientConfigHelperImpl implements StandardDSOClientConfigHelper,DSOClientConfigHelper(Code)



Constructor Summary
public  StandardDSOClientConfigHelperImpl(L1TVSConfigurationSetupManager configSetupManager)
    
public  StandardDSOClientConfigHelperImpl(boolean initializedModulesOnlyOnce, L1TVSConfigurationSetupManager configSetupManager)
    
public  StandardDSOClientConfigHelperImpl(L1TVSConfigurationSetupManager configSetupManager, boolean interrogateBootJar)
    

Method Summary
public  voidaddApplicationName(String name)
    
public  voidaddAspectModule(String pattern, String moduleName)
    
public  voidaddAutoLockExcludePattern(String expression)
    
public  voidaddAutolock(String methodPattern, ConfigLockLevel type)
    
public  voidaddClassReplacement(String originalClassName, String replacementClassName, URL replacementResource)
    
public  voidaddClassResource(String className, URL resource)
    
public  voidaddCustomAdapter(String name, ClassAdapterFactory factory)
    
public  voidaddDSOSpringConfig(DSOSpringConfigHelper config)
    
public  voidaddDistributedMethodCall(DistributedMethodSpec dms)
    
public  voidaddExcludePattern(String expression)
    
public  voidaddIncludeAndLockIfRequired(String expression, boolean honorTransient, boolean oldStyleCallConstructorOnLoad, boolean honorVolatile, String lockExpression, ClassInfo classInfo)
    
public  voidaddIncludePattern(String expression)
    
public  voidaddIncludePattern(String expression, boolean honorTransient)
    
public  voidaddIncludePattern(String expression, boolean honorTransient, boolean oldStyleCallConstructorOnLoad, boolean honorVolatile)
    
public  voidaddInstrumentationDescriptor(InstrumentedClass classDesc)
    
public  voidaddLock(String methodPattern, LockDefinition lockDefinition)
    
public  voidaddModule(String name, String version)
    
public  voidaddNonportablePattern(String pattern)
    
public  voidaddPermanentExcludePattern(String pattern)
    
public  voidaddReadAutoSynchronize(String methodPattern)
    
public  voidaddReadAutolock(String methodPattern)
    
public  voidaddRepository(String location)
    
public  voidaddRoot(String rootName, String rootFieldName)
     This is a simplified interface from DSOApplicationConfig.
public  voidaddRoot(Root root, boolean addSpecForClass)
    
public  voidaddSynchronousWriteApplication(String name)
    
public  voidaddSynchronousWriteAutolock(String methodPattern)
    
public  voidaddTransient(String className, String fieldName)
    
public  voidaddUserDefinedBootSpec(String className, TransparencyClassSpec spec)
    
public  voidaddWriteAutoSynchronize(String methodPattern)
    
public  voidaddWriteAutolock(String methodPattern)
    
public  voidallowCGLIBInstrumentation()
    
public  ClassAdaptercreateClassAdapterFor(ClassWriter writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller)
    
public  ClassAdaptercreateClassAdapterFor(ClassWriter writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller, boolean forcePortable)
    
public  TransparencyClassAdaptercreateDsoClassAdapterFor(ClassVisitor writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller, boolean forcePortable, boolean honorTransient)
    
public  LockDefinitioncreateLockDefinition(String name, ConfigLockLevel level)
    
public  TransparencyClassSpec[]getAllSpecs()
    
public  IteratorgetAllUserDefinedBootSpecs()
    
public  MapgetAspectModules()
    
public  ClassgetChangeApplicator(Class clazz)
    
public  ClassReplacementMappinggetClassReplacementMapping()
    
public  URLgetClassResource(String className)
    
public  ClassAdapterFactorygetCustomAdapter(ClassInfo classInfo)
    
public  CollectiongetDSOSpringConfigs()
    
public  DistributedMethodSpecgetDmiSpec(MemberInfo memberInfo)
    
public  intgetFaultCount()
    
public  DSOInstrumentationLoggingOptionsgetInstrumentationLoggingOptions()
    
public  StringgetLogicalExtendingClassName(String className)
    
public  String[]getMissingRootDeclarations(ClassInfo classInfo)
    
public  ModulesgetModulesForInitialization()
    
public  NewCommonL1ConfiggetNewCommonL1Config()
    
public  StringgetOnLoadMethodIfDefined(ClassInfo classInfo)
    
public  StringgetOnLoadScriptIfDefined(ClassInfo classInfo)
    
public  TransparencyClassSpecgetOrCreateSpec(String className)
    
public  TransparencyClassSpecgetOrCreateSpec(String className, String applicator)
    
public  PortabilitygetPortability()
    
public  StringgetPostCreateMethodIfDefined(String className)
    
public  StringgetPreCreateMethodIfDefined(String className)
    
public  intgetSessionLockType(String appName)
    
public  TransparencyClassSpecgetSpec(String className)
    
public  ClassgetTCPeerClass(Class clazz)
    
public  booleanhasCustomAdapter(ClassInfo classInfo)
    
public  booleanhasIncludeExcludePattern(ClassInfo classInfo)
    
public  booleanhasIncludeExcludePatterns()
    
public  booleanhasSpec(String className)
    
public  DSOInstrumentationLoggingOptionsinstrumentationLoggingOptions()
    
public  booleanisCallConstructorOnLoad(ClassInfo classInfo)
    
public  booleanisDSOSessions(String name)
    
public  booleanisLockMethod(MemberInfo memberInfo)
    
public  booleanisLogical(String className)
    
public  booleanisNeverAdaptable(ClassInfo classInfo)
    
public  booleanisPortableModuleClass(Class clazz)
    
public  booleanisRoot(FieldInfo fi)
    
public  booleanisRootDSOFinal(FieldInfo fi)
    
public  booleanisTransient(int modifiers, ClassInfo classInfo, String field)
    
public  booleanisUseNonDefaultConstructor(Class clazz)
    
public  booleanisVolatile(int modifiers, ClassInfo classInfo, String field)
    
public  LockDefinition[]lockDefinitionsFor(MemberInfo memberInfo)
    
public  booleanmatches(Lock lock, MemberInfo methodInfo)
    
public  booleanmatches(String expression, MemberInfo methodInfo)
    
public  booleanreflectionEnabled()
    
public  booleanremoveCustomAdapter(String name)
    
public  voidremoveSpec(String className)
     This is used in BootJarTool.
public  StringrootNameFor(FieldInfo fi)
    
public  DSORuntimeLoggingOptionsruntimeLoggingOptions()
    
public  DSORuntimeOutputOptionsruntimeOutputOptions()
    
public  voidsetFaultCount(int count)
    
public  voidsetModuleSpecs(ModuleSpec[] moduleSpecs)
    
public  booleanshouldBeAdapted(ClassInfo classInfo)
    
public  StringtoString()
    
public  voidverifyBootJarContents()
    
public  voidwriteTo(DSOApplicationConfigBuilder appConfigBuilder)
    


Constructor Detail
StandardDSOClientConfigHelperImpl
public StandardDSOClientConfigHelperImpl(L1TVSConfigurationSetupManager configSetupManager) throws ConfigurationSetupException(Code)



StandardDSOClientConfigHelperImpl
public StandardDSOClientConfigHelperImpl(boolean initializedModulesOnlyOnce, L1TVSConfigurationSetupManager configSetupManager) throws ConfigurationSetupException(Code)



StandardDSOClientConfigHelperImpl
public StandardDSOClientConfigHelperImpl(L1TVSConfigurationSetupManager configSetupManager, boolean interrogateBootJar) throws ConfigurationSetupException(Code)




Method Detail
addApplicationName
public void addApplicationName(String name)(Code)



addAspectModule
public void addAspectModule(String pattern, String moduleName)(Code)



addAutoLockExcludePattern
public void addAutoLockExcludePattern(String expression)(Code)



addAutolock
public void addAutolock(String methodPattern, ConfigLockLevel type)(Code)



addClassReplacement
public void addClassReplacement(String originalClassName, String replacementClassName, URL replacementResource)(Code)



addClassResource
public void addClassResource(String className, URL resource)(Code)



addCustomAdapter
public void addCustomAdapter(String name, ClassAdapterFactory factory)(Code)



addDSOSpringConfig
public void addDSOSpringConfig(DSOSpringConfigHelper config)(Code)



addDistributedMethodCall
public void addDistributedMethodCall(DistributedMethodSpec dms)(Code)



addExcludePattern
public void addExcludePattern(String expression)(Code)



addIncludeAndLockIfRequired
public void addIncludeAndLockIfRequired(String expression, boolean honorTransient, boolean oldStyleCallConstructorOnLoad, boolean honorVolatile, String lockExpression, ClassInfo classInfo)(Code)



addIncludePattern
public void addIncludePattern(String expression)(Code)



addIncludePattern
public void addIncludePattern(String expression, boolean honorTransient)(Code)



addIncludePattern
public void addIncludePattern(String expression, boolean honorTransient, boolean oldStyleCallConstructorOnLoad, boolean honorVolatile)(Code)



addInstrumentationDescriptor
public void addInstrumentationDescriptor(InstrumentedClass classDesc)(Code)



addLock
public void addLock(String methodPattern, LockDefinition lockDefinition)(Code)



addModule
public void addModule(String name, String version)(Code)



addNonportablePattern
public void addNonportablePattern(String pattern)(Code)



addPermanentExcludePattern
public void addPermanentExcludePattern(String pattern)(Code)



addReadAutoSynchronize
public void addReadAutoSynchronize(String methodPattern)(Code)



addReadAutolock
public void addReadAutolock(String methodPattern)(Code)



addRepository
public void addRepository(String location)(Code)



addRoot
public void addRoot(String rootName, String rootFieldName)(Code)
This is a simplified interface from DSOApplicationConfig. This is used for programmatically generating config.



addRoot
public void addRoot(Root root, boolean addSpecForClass)(Code)



addSynchronousWriteApplication
public void addSynchronousWriteApplication(String name)(Code)



addSynchronousWriteAutolock
public void addSynchronousWriteAutolock(String methodPattern)(Code)



addTransient
public void addTransient(String className, String fieldName)(Code)



addUserDefinedBootSpec
public void addUserDefinedBootSpec(String className, TransparencyClassSpec spec)(Code)



addWriteAutoSynchronize
public void addWriteAutoSynchronize(String methodPattern)(Code)



addWriteAutolock
public void addWriteAutolock(String methodPattern)(Code)



allowCGLIBInstrumentation
public void allowCGLIBInstrumentation()(Code)



createClassAdapterFor
public ClassAdapter createClassAdapterFor(ClassWriter writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller)(Code)



createClassAdapterFor
public ClassAdapter createClassAdapterFor(ClassWriter writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller, boolean forcePortable)(Code)



createDsoClassAdapterFor
public TransparencyClassAdapter createDsoClassAdapterFor(ClassVisitor writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller, boolean forcePortable, boolean honorTransient)(Code)



createLockDefinition
public LockDefinition createLockDefinition(String name, ConfigLockLevel level)(Code)



getAllSpecs
public TransparencyClassSpec[] getAllSpecs()(Code)



getAllUserDefinedBootSpecs
public Iterator getAllUserDefinedBootSpecs()(Code)



getAspectModules
public Map getAspectModules()(Code)



getChangeApplicator
public Class getChangeApplicator(Class clazz)(Code)



getClassReplacementMapping
public ClassReplacementMapping getClassReplacementMapping()(Code)



getClassResource
public URL getClassResource(String className)(Code)



getCustomAdapter
public ClassAdapterFactory getCustomAdapter(ClassInfo classInfo)(Code)



getDSOSpringConfigs
public Collection getDSOSpringConfigs()(Code)



getDmiSpec
public DistributedMethodSpec getDmiSpec(MemberInfo memberInfo)(Code)



getFaultCount
public int getFaultCount()(Code)



getInstrumentationLoggingOptions
public DSOInstrumentationLoggingOptions getInstrumentationLoggingOptions()(Code)



getLogicalExtendingClassName
public String getLogicalExtendingClassName(String className)(Code)



getMissingRootDeclarations
public String[] getMissingRootDeclarations(ClassInfo classInfo)(Code)



getModulesForInitialization
public Modules getModulesForInitialization()(Code)



getNewCommonL1Config
public NewCommonL1Config getNewCommonL1Config()(Code)



getOnLoadMethodIfDefined
public String getOnLoadMethodIfDefined(ClassInfo classInfo)(Code)



getOnLoadScriptIfDefined
public String getOnLoadScriptIfDefined(ClassInfo classInfo)(Code)



getOrCreateSpec
public TransparencyClassSpec getOrCreateSpec(String className)(Code)



getOrCreateSpec
public TransparencyClassSpec getOrCreateSpec(String className, String applicator)(Code)



getPortability
public Portability getPortability()(Code)
// ---------------------------- // implicit config-bundle - JAG // ---------------------------- private void addUnsupportedJavaUtilConcurrentTypes() { addPermanentExcludePattern("java.util.concurrent.AbstractExecutorService"); addPermanentExcludePattern("java.util.concurrent.ArrayBlockingQueue*"); addPermanentExcludePattern("java.util.concurrent.ConcurrentLinkedQueue*"); addPermanentExcludePattern("java.util.concurrent.ConcurrentSkipListMap*"); addPermanentExcludePattern("java.util.concurrent.ConcurrentSkipListSet*"); addPermanentExcludePattern("java.util.concurrent.CopyOnWriteArrayList*"); addPermanentExcludePattern("java.util.concurrent.CopyOnWriteArraySet*"); addPermanentExcludePattern("java.util.concurrent.CountDownLatch*"); addPermanentExcludePattern("java.util.concurrent.DelayQueue*"); addPermanentExcludePattern("java.util.concurrent.Exchanger*"); addPermanentExcludePattern("java.util.concurrent.ExecutorCompletionService*"); addPermanentExcludePattern("java.util.concurrent.LinkedBlockingDeque*"); addPermanentExcludePattern("java.util.concurrent.PriorityBlockingQueue*"); addPermanentExcludePattern("java.util.concurrent.ScheduledThreadPoolExecutor*"); addPermanentExcludePattern("java.util.concurrent.Semaphore*"); addPermanentExcludePattern("java.util.concurrent.SynchronousQueue*"); addPermanentExcludePattern("java.util.concurrent.ThreadPoolExecutor*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicBoolean*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicIntegerArray*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicIntegerFieldUpdater*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicLongArray*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicLongFieldUpdater*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicMarkableReference*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicReference*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicReferenceArray*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicReferenceFieldUpdater*"); addPermanentExcludePattern("java.util.concurrent.atomic.AtomicStampedReference*"); addPermanentExcludePattern("java.util.concurrent.locks.AbstractQueuedLongSynchronizer*"); addPermanentExcludePattern("java.util.concurrent.locks.AbstractQueuedSynchronizer*"); addPermanentExcludePattern("java.util.concurrent.locks.LockSupport*"); }



getPostCreateMethodIfDefined
public String getPostCreateMethodIfDefined(String className)(Code)



getPreCreateMethodIfDefined
public String getPreCreateMethodIfDefined(String className)(Code)



getSessionLockType
public int getSessionLockType(String appName)(Code)



getSpec
public TransparencyClassSpec getSpec(String className)(Code)



getTCPeerClass
public Class getTCPeerClass(Class clazz)(Code)



hasCustomAdapter
public boolean hasCustomAdapter(ClassInfo classInfo)(Code)



hasIncludeExcludePattern
public boolean hasIncludeExcludePattern(ClassInfo classInfo)(Code)



hasIncludeExcludePatterns
public boolean hasIncludeExcludePatterns()(Code)



hasSpec
public boolean hasSpec(String className)(Code)



instrumentationLoggingOptions
public DSOInstrumentationLoggingOptions instrumentationLoggingOptions()(Code)



isCallConstructorOnLoad
public boolean isCallConstructorOnLoad(ClassInfo classInfo)(Code)



isDSOSessions
public boolean isDSOSessions(String name)(Code)



isLockMethod
public boolean isLockMethod(MemberInfo memberInfo)(Code)



isLogical
public boolean isLogical(String className)(Code)



isNeverAdaptable
public boolean isNeverAdaptable(ClassInfo classInfo)(Code)



isPortableModuleClass
public boolean isPortableModuleClass(Class clazz)(Code)



isRoot
public boolean isRoot(FieldInfo fi)(Code)



isRootDSOFinal
public boolean isRootDSOFinal(FieldInfo fi)(Code)



isTransient
public boolean isTransient(int modifiers, ClassInfo classInfo, String field)(Code)



isUseNonDefaultConstructor
public boolean isUseNonDefaultConstructor(Class clazz)(Code)



isVolatile
public boolean isVolatile(int modifiers, ClassInfo classInfo, String field)(Code)



lockDefinitionsFor
public LockDefinition[] lockDefinitionsFor(MemberInfo memberInfo)(Code)



matches
public boolean matches(Lock lock, MemberInfo methodInfo)(Code)



matches
public boolean matches(String expression, MemberInfo methodInfo)(Code)



reflectionEnabled
public boolean reflectionEnabled()(Code)



removeCustomAdapter
public boolean removeCustomAdapter(String name)(Code)



removeSpec
public void removeSpec(String className)(Code)
This is used in BootJarTool. In BootJarTool, it changes the package of our implementation of ReentrantLock and FutureTask to the java.util.concurrent package. In order to change the different adapter together, we need to create a spec with our package and remove the spec after the instrumentation is done.



rootNameFor
public String rootNameFor(FieldInfo fi)(Code)



runtimeLoggingOptions
public DSORuntimeLoggingOptions runtimeLoggingOptions()(Code)



runtimeOutputOptions
public DSORuntimeOutputOptions runtimeOutputOptions()(Code)



setFaultCount
public void setFaultCount(int count)(Code)



setModuleSpecs
public void setModuleSpecs(ModuleSpec[] moduleSpecs)(Code)



shouldBeAdapted
public boolean shouldBeAdapted(ClassInfo classInfo)(Code)



toString
public String toString()(Code)



verifyBootJarContents
public void verifyBootJarContents() throws UnverifiedBootJarException(Code)
This method will: - check the contents of the boot-jar against tc-config.xml - check that all that all the necessary referenced classes are also present in the boot jar



writeTo
public void writeTo(DSOApplicationConfigBuilder appConfigBuilder)(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.