Searched refs:transformer (Results 1 - 25 of 26) sorted by relevance

12

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/deployment/
H A DInstrumentableClassLoader.java69 * @param transformer new class file transformer to do byte code enhancement.
71 public void addTransformer(ClassFileTransformer transformer); argument
H A DDeploymentContext.java169 * @param transformer the new class file transformer to register to the new application
175 public void addTransformer(ClassFileTransformer transformer); argument
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DJ2EEDocumentBuilder.java153 Transformer transformer = getTransformer();
154 setTransformerProperties(node, transformer);
155 transformer.transform(source, output);
167 Transformer transformer = null;
170 //so that we obtain the VM default transformer factory from
178 //get the VM default transformer factory and use that for DOL
180 transformer = TransformerFactory.newInstance().newTransformer();
189 return transformer;
192 private static void setTransformerProperties (RootXMLNode node, Transformer transformer) { argument
194 transformer
[all...]
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/client/
H A DStrings.java43 import org.glassfish.flashlight.transformer.*;
H A DFlashlightProbeClientMediator.java56 import org.glassfish.flashlight.transformer.ProbeProviderClassFileTransformer;
193 ProbeProviderClassFileTransformer transformer = transformers.get(clz);
194 if (transformer == null) {
195 transformer = new ProbeProviderClassFileTransformer(clz);
196 transformers.put(clz, transformer);
199 transformer.regProbe(probe);
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/transformer/
H A DStrings.java41 package org.glassfish.flashlight.transformer;
H A DProbeProviderClassFileTransformer.java40 package org.glassfish.flashlight.transformer;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/utils/xml/
H A DXmlObject.java151 Transformer transformer = factory.newTransformer();
153 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
154 transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", String.valueOf(indent));
156 transformer.transform(source, result);
162 Transformer transformer = TransformerFactory.newInstance().newTransformer();
163 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
165 transformer.transform(xmlInput, xmlOutput);
/glassfish-3.1.2/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/
H A DProviderContainerContractInfo.java79 void addTransformer(ClassTransformer transformer); argument
H A DServerProviderContainerContractInfo.java91 public void addTransformer(final ClassTransformer transformer) { argument
98 return transformer.transform(loader, className, classBeingRedefined, protectionDomain, classfileBuffer);
H A DPersistenceUnitInfoImpl.java215 public void addTransformer(ClassTransformer transformer) { argument
216 providerContainerContractInfo.addTransformer(transformer);
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/
H A DDOMUtil.java435 Transformer transformer;
438 transformer = transformerFactory.newTransformer();
441 transformer = null;
445 transformer.setOutputProperty(OutputKeys.METHOD, "xml");
446 transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "no");
447 transformer.setOutputProperty(OutputKeys.STANDALONE, "yes");
448 transformer.setOutputProperty(OutputKeys.CDATA_SECTION_ELEMENTS, "");
449 transformer.setOutputProperty(OutputKeys.INDENT, "no");
452 transformer.transform(new DOMSource(aDocument),
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DInstanceStateFileProcessor.java166 Transformer transformer = transformerfactory.newTransformer();
167 transformer.setOutputProperty(OutputKeys.METHOD, "xml");
168 transformer.setOutputProperty(OutputKeys.ENCODING, "utf-8");
169 //transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
170 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
172 transformer.transform(domSource, new StreamResult(outputStream));
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/
H A DLogRecord.java198 Transformer transformer = factory.newTransformer();
199 transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
201 transformer.transform(source, result);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DProviderContainerContractInfoImpl.java80 * The ACC uses its agent to register a VM transformer which can then
106 public void addTransformer(ClassTransformer transformer) { argument
107 final TransformerWrapper tw = new TransformerWrapper(transformer, classLoader);
148 * Wraps a persistence transformer in a java.lang.instrumentation.ClassFileTransformer
149 * suitable for addition as a transformer to the JVM-provided instrumentation
165 * Do not even bother running the transformer unless the loader
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/persistence/
H A DAVKPersistenceUnitInfoImpl.java84 public void addTransformer(ClassTransformer transformer)
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/
H A DReportHandler.java379 Transformer transformer = tfactory.newTransformer();
380 transformer.setOutputProperty(OutputKeys.INDENT, "yes"); // NOI18N
381 transformer.setOutputProperty(OutputKeys.METHOD, "xml"); // NOI18N
383 transformer.setOutputProperty(OutputKeys.ENCODING, encoding);
385 transformer.transform(domSource, new StreamResult(fos));
443 Transformer transformer;
447 transformer = tFactory.newTransformer(styleSource);
449 transformer = tFactory.newTransformer();
453 transformer.transform(source, streamResult);
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DRepositoryManager.java97 * transformer used for reading and writing the registration data or during
105 transformer = transformerFactory.newTransformer();
106 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
107 transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount","4");
355 transformer.transform(new DOMSource(node), new StreamResult(stream));
553 * Doc builder factory, doc builder, transformer factory, and transformer
560 private final Transformer transformer; field in class:RepositoryManager
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/
H A DDeploymentContextImpl.java357 * @param transformer the new class file transformer to register to the new application
363 public void addTransformer(ClassFileTransformer transformer) { argument
386 libIcl.addTransformer(transformer);
391 icl.addTransformer(transformer);
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/monitoring/
H A DWebServiceTesterServlet.java356 Transformer transformer = factory.newTransformer();
358 transformer.setOutputProperty(OutputKeys.METHOD, "xml");
359 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
360 transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
361 transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
362 transformer.transform(ss, sr);
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/soap/
H A DMessageExchangeHelper.java565 javax.xml.transform.Transformer transformer = javax.xml.transform.TransformerFactory.newInstance().newTransformer();
568 transformer.transform(source, result);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/loader/
H A DASURLClassLoader.java416 public void addTransformer(ClassFileTransformer transformer) { argument
417 transformers.add(transformer);
736 for ( final ClassFileTransformer transformer : xformers) {
742 final byte[] transformedBytes = transformer.transform(this, internalClassName, null,
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DWsUtil.java255 // to reprocess it through the XML transformer to change the final
577 Transformer transformer = templates.newTransformer();
590 transformer.setParameter
597 transformer.setParameter
606 transformer.setParameter
613 transformer.setParameter
624 transformer.setParameter
633 transformer.setParameter
654 transformer.setParameter(ENDPOINT_ADDRESS_PARAM_NAME + endpointNum,
668 transformer
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DVirtualServer.java2563 Transformer transformer = TransformerFactory.newInstance().newTransformer();
2564 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
2568 transformer.transform(src, result);
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/
H A DWebappClassLoader.java2681 * @param transformer new class file transformer to do byte code enhancement.
2683 public void addTransformer(final ClassFileTransformer transformer) { argument
2700 byte[] newBytes = transformer.transform(

Completed in 95 milliseconds

12