| java.lang.Object com.tc.object.config.StandardDSOClientConfigHelperImpl
Method Summary | |
public void | addApplicationName(String name) | public void | addAspectModule(String pattern, String moduleName) | public void | addAutoLockExcludePattern(String expression) | public void | addAutolock(String methodPattern, ConfigLockLevel type) | public void | addClassReplacement(String originalClassName, String replacementClassName, URL replacementResource) | public void | addClassResource(String className, URL resource) | public void | addCustomAdapter(String name, ClassAdapterFactory factory) | public void | addDSOSpringConfig(DSOSpringConfigHelper config) | public void | addDistributedMethodCall(DistributedMethodSpec dms) | public void | addExcludePattern(String expression) | public void | addIncludeAndLockIfRequired(String expression, boolean honorTransient, boolean oldStyleCallConstructorOnLoad, boolean honorVolatile, String lockExpression, ClassInfo classInfo) | public void | addIncludePattern(String expression) | public void | addIncludePattern(String expression, boolean honorTransient) | public void | addIncludePattern(String expression, boolean honorTransient, boolean oldStyleCallConstructorOnLoad, boolean honorVolatile) | public void | addInstrumentationDescriptor(InstrumentedClass classDesc) | public void | addLock(String methodPattern, LockDefinition lockDefinition) | public void | addModule(String name, String version) | public void | addNonportablePattern(String pattern) | public void | addPermanentExcludePattern(String pattern) | public void | addReadAutoSynchronize(String methodPattern) | public void | addReadAutolock(String methodPattern) | public void | addRepository(String location) | public void | addRoot(String rootName, String rootFieldName) This is a simplified interface from DSOApplicationConfig. | public void | addRoot(Root root, boolean addSpecForClass) | public void | addSynchronousWriteApplication(String name) | public void | addSynchronousWriteAutolock(String methodPattern) | public void | addTransient(String className, String fieldName) | public void | addUserDefinedBootSpec(String className, TransparencyClassSpec spec) | public void | addWriteAutoSynchronize(String methodPattern) | public void | addWriteAutolock(String methodPattern) | public void | allowCGLIBInstrumentation() | public ClassAdapter | createClassAdapterFor(ClassWriter writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller) | public ClassAdapter | createClassAdapterFor(ClassWriter writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller, boolean forcePortable) | public TransparencyClassAdapter | createDsoClassAdapterFor(ClassVisitor writer, ClassInfo classInfo, InstrumentationLogger lgr, ClassLoader caller, boolean forcePortable, boolean honorTransient) | public LockDefinition | createLockDefinition(String name, ConfigLockLevel level) | public TransparencyClassSpec[] | getAllSpecs() | public Iterator | getAllUserDefinedBootSpecs() | public Map | getAspectModules() | public Class | getChangeApplicator(Class clazz) | public ClassReplacementMapping | getClassReplacementMapping() | public URL | getClassResource(String className) | public ClassAdapterFactory | getCustomAdapter(ClassInfo classInfo) | public Collection | getDSOSpringConfigs() | public DistributedMethodSpec | getDmiSpec(MemberInfo memberInfo) | public int | getFaultCount() | public DSOInstrumentationLoggingOptions | getInstrumentationLoggingOptions() | public String | getLogicalExtendingClassName(String className) | public String[] | getMissingRootDeclarations(ClassInfo classInfo) | public Modules | getModulesForInitialization() | public NewCommonL1Config | getNewCommonL1Config() | public String | getOnLoadMethodIfDefined(ClassInfo classInfo) | public String | getOnLoadScriptIfDefined(ClassInfo classInfo) | public TransparencyClassSpec | getOrCreateSpec(String className) | public TransparencyClassSpec | getOrCreateSpec(String className, String applicator) | public Portability | getPortability() | public String | getPostCreateMethodIfDefined(String className) | public String | getPreCreateMethodIfDefined(String className) | public int | getSessionLockType(String appName) | public TransparencyClassSpec | getSpec(String className) | public Class | getTCPeerClass(Class clazz) | public boolean | hasCustomAdapter(ClassInfo classInfo) | public boolean | hasIncludeExcludePattern(ClassInfo classInfo) | public boolean | hasIncludeExcludePatterns() | public boolean | hasSpec(String className) | public DSOInstrumentationLoggingOptions | instrumentationLoggingOptions() | public boolean | isCallConstructorOnLoad(ClassInfo classInfo) | public boolean | isDSOSessions(String name) | public boolean | isLockMethod(MemberInfo memberInfo) | public boolean | isLogical(String className) | public boolean | isNeverAdaptable(ClassInfo classInfo) | public boolean | isPortableModuleClass(Class clazz) | public boolean | isRoot(FieldInfo fi) | public boolean | isRootDSOFinal(FieldInfo fi) | public boolean | isTransient(int modifiers, ClassInfo classInfo, String field) | public boolean | isUseNonDefaultConstructor(Class clazz) | public boolean | isVolatile(int modifiers, ClassInfo classInfo, String field) | public LockDefinition[] | lockDefinitionsFor(MemberInfo memberInfo) | public boolean | matches(Lock lock, MemberInfo methodInfo) | public boolean | matches(String expression, MemberInfo methodInfo) | public boolean | reflectionEnabled() | public boolean | removeCustomAdapter(String name) | public void | removeSpec(String className) This is used in BootJarTool. | public String | rootNameFor(FieldInfo fi) | public DSORuntimeLoggingOptions | runtimeLoggingOptions() | public DSORuntimeOutputOptions | runtimeOutputOptions() | public void | setFaultCount(int count) | public void | setModuleSpecs(ModuleSpec[] moduleSpecs) | public boolean | shouldBeAdapted(ClassInfo classInfo) | public String | toString() | public void | verifyBootJarContents() | public void | writeTo(DSOApplicationConfigBuilder appConfigBuilder) |
addApplicationName | public void addApplicationName(String name)(Code) | | |
addAutoLockExcludePattern | public void addAutoLockExcludePattern(String expression)(Code) | | |
addClassReplacement | public void addClassReplacement(String originalClassName, String replacementClassName, URL replacementResource)(Code) | | |
addClassResource | public void addClassResource(String className, URL resource)(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) | | |
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) | | |
addWriteAutoSynchronize | public void addWriteAutoSynchronize(String methodPattern)(Code) | | |
addWriteAutolock | public void addWriteAutolock(String methodPattern)(Code) | | |
allowCGLIBInstrumentation | public void allowCGLIBInstrumentation()(Code) | | |
getAllUserDefinedBootSpecs | public Iterator getAllUserDefinedBootSpecs()(Code) | | |
getAspectModules | public Map getAspectModules()(Code) | | |
getFaultCount | public int getFaultCount()(Code) | | |
getLogicalExtendingClassName | public String getLogicalExtendingClassName(String className)(Code) | | |
getModulesForInitialization | public Modules getModulesForInitialization()(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) | | |
hasIncludeExcludePattern | public boolean hasIncludeExcludePattern(ClassInfo classInfo)(Code) | | |
hasIncludeExcludePatterns | public boolean hasIncludeExcludePatterns()(Code) | | |
isCallConstructorOnLoad | public boolean isCallConstructorOnLoad(ClassInfo classInfo)(Code) | | |
isDSOSessions | public boolean isDSOSessions(String name)(Code) | | |
isPortableModuleClass | public boolean isPortableModuleClass(Class clazz)(Code) | | |
isUseNonDefaultConstructor | public boolean isUseNonDefaultConstructor(Class clazz)(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.
|
setFaultCount | public void setFaultCount(int count)(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
|
|
|