Searched refs:builder (Results 1 - 25 of 69) sorted by relevance

123

/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/logging/
H A DLogQueryResultImpl.java109 final StringBuilder builder = new StringBuilder();
113 builder.append( s );
114 builder.append( FIELD_DELIM );
116 builder.replace( builder.length() - 1, builder.length(), NEWLINE );
123 builder.append( o.toString() );
124 builder.append( FIELD_DELIM );
126 builder.replace( builder
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DJSONUtil.java113 StringBuilder builder =
115 builder.append("\"");
119 builder.append("\\t");
122 builder.append("\\n");
125 builder.append("\\r");
128 builder.append("\\b");
131 builder.append("\\f");
145 builder.append("\\");
146 builder.append(ch);
151 builder
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DOrderingOrderingDescriptor.java87 StringBuilder builder = new StringBuilder("[");
91 builder.append(", ");
93 builder.append(n);
99 builder.append(", ");
101 builder.append("<others/>");
103 builder.append("]");
104 return builder.toString();
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DPersistenceStrategyBuilderFactory.java104 PersistenceStrategyBuilder builder = habitat.getComponent(PersistenceStrategyBuilder.class, persistenceType);
105 if (builder == null) {
106 builder = new MemoryStrategyBuilder();
114 + "CandidateBuilderClassName = " + builder.getClass());
117 builder.setPersistenceFrequency(frequency);
118 builder.setPersistenceScope(scope);
119 builder.setPassedInPersistenceType(persistenceType);
121 return builder;
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DEmbeddedFileSystem.java56 * EmbeddedFileSystem builder class. Clients must use one these builder instances
189 private EmbeddedFileSystem(Builder builder) { argument
190 autoDelete = builder.autoDelete;
191 readOnlyConfigFile = builder.readOnly;
192 installRoot = builder.installRoot;
193 instanceRoot = builder.instanceRoot;
194 configFile = builder.configFile;
195 cookedMode = builder.cookedMode;
H A DServer.java148 * Uses this builder's name to create or return an existing embedded
151 * of this builder. If no embedded file system is used, the embedded instance will use
162 * Uses this builder's name to create or return an existing embedded
165 * of this builder. If no embedded file system is used, the embedded instance will use
254 private Server(Builder builder, Properties properties) { argument
255 serverName = builder.serverName;
256 loggerEnabled = builder.loggerEnabled;
257 verbose = builder.verbose;
258 loggerFile = builder.loggerFile;
259 jmxPort = builder
[all...]
/glassfish-3.1.2/tests/embedded/static/web/src/test/java/org/glassfish/tests/embedded/cooked/
H A DExistingDomainTest.java87 Server.Builder builder = new Server.Builder("inplanted");
88 builder.embeddedFileSystem(efsb.build());
89 server = builder.build();
102 ScatteredArchive.Builder builder = new ScatteredArchive.Builder("hello", f);
103 builder.addClassPath(f.toURI().toURL());
104 builder.resources(f);
108 ScatteredArchive war = builder.buildWar();
114 String appName = server.getDeployer().deploy(builder.buildWar(), dp);
H A DInplantedTest.java80 Server.Builder builder = new Server.Builder("inplanted");
81 builder.embeddedFileSystem(efsb.build());
82 server = builder.build();
95 ScatteredArchive.Builder builder = new ScatteredArchive.Builder("hello", f);
96 builder.addClassPath(f.toURI().toURL());
97 builder.resources(f);
98 ScatteredArchive war = builder.buildWar();
H A DExistingConfigurationTest.java88 Server.Builder builder = new Server.Builder("inplanted");
89 builder.embeddedFileSystem(efsb.build());
90 server = builder.build();
/glassfish-3.1.2/tests/embedded/wrapper/src/main/java/org/glassfish/tests/embedded/
H A DEmbeddedMain.java74 Server.Builder builder = new Server.Builder("asadmin");
76 Server server = builder.embeddedFileSystem(efs).build();
/glassfish-3.1.2/common/simple-glassfish-api/src/main/java/org/glassfish/embeddable/
H A DGlassFishRuntime.java180 RuntimeBuilder builder = runtimeBuilders.next();
181 logger.logp(Level.FINE, "GlassFishRuntime", "getRuntimeBuilder", "builder = {0}", new Object[]{builder});
182 if (builder.handles(bootstrapProperties)) {
183 return builder;
186 // Ignore the exception and move ahead to the next builder.
195 throw new GlassFishException("No runtime builder available for this configuration: " + bootstrapProperties.getProperties(), null);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DNotificationEmitterServiceTest.java119 final NotificationBuilder builder =
124 final Notification notif = builder.buildNew(TEST_MESSAGE);
125 builder.putMapData(notif, TEST_KEY, TEST_VALUE);
144 final Notification temp = builder.buildNew(TEST_MESSAGE);
145 builder.putMapData(notif, TEST_KEY, TEST_VALUE);
/glassfish-3.1.2/tests/embedded/web/web-all/src/test/java/org/glassfish/tests/weball/
H A DWebAllTest.java77 Server.Builder builder = new Server.Builder("WebAllTest");
78 builder.embeddedFileSystem(fs);
79 server = builder.build();
95 System.out.println("builder is " + b);
102 ScatteredArchive.Builder builder = new ScatteredArchive.Builder("sampleweb", new File(p));
103 builder.resources(new File(p));
104 builder.addClassPath((new File(p)).toURL());
108 String appName = deployer.deploy(builder.buildWar(), dp);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/
H A DAppClientFacade.java256 * Get the builder. Doing so correctly involves merging
260 final AppClientContainer.Builder builder =
269 final AppClientContainer newACC = createContainer(builder,
380 Builder builder = AppClientContainer.newBuilder(targetServers);
383 * Augment the builder with settings from the app client options that
384 * can affect the builder itself. (This is distinct from options
388 updateClientCredentials(builder, appClientCommandArgs);
391 builder.getMessageSecurityConfig().addAll(clientContainer.getMessageSecurityConfig());
393 builder.logger(new ACCLogger(clientContainer.getLogService()));
396 builder
406 updateClientCredentials( final Builder builder, final AppclientCommandArguments appClientCommandArgs) argument
435 createContainer( final Builder builder, final CommandLaunchInfo launchInfo, final AppclientCommandArguments appClientArgs) argument
485 createContainerForAppClientArchiveOrDir( final Builder builder, final String appClientPath, final String mainClassName, final String clientName) argument
496 createContainerForJWSLaunch( final Builder builder, final String appClientPath, final String mainClassName, final String clientName) argument
506 createContainerForClassName( final Builder builder, final String className) argument
530 createContainerForClassFile( final Builder builder, final String classFilePath) argument
[all...]
/glassfish-3.1.2/tests/embedded/utils/src/main/java/org/glassfish/tests/embedded/utils/
H A DEmbeddedServerUtils.java82 Server.Builder builder = new Server.Builder("inplanted");
83 builder.embeddedFileSystem(fileSystem);
84 return builder.build();
/glassfish-3.1.2/tests/embedded/web/autodelete/src/test/java/org/glassfish/tests/embedded/web/autodelete/
H A DServletMain.java86 ScatteredArchive.Builder builder = new ScatteredArchive.Builder("hello", f);
87 builder.addClassPath(f.toURI().toURL());
88 builder.resources(f);
89 ScatteredArchive war = builder.buildWar();
/glassfish-3.1.2/tests/embedded/web/servlet/src/test/java/org/glassfish/tests/embedded/web/servlet/
H A DServletMain.java81 ScatteredArchive.Builder builder = new ScatteredArchive.Builder("hello", f);
82 builder.addClassPath(f.toURI().toURL());
83 builder.resources(f);
84 ScatteredArchive war = builder.buildWar();
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DMBeanImplBase.java145 NotificationBuilder builder = null;
148 builder = new AttributeChangeNotificationBuilder(getObjectName());
150 builder = new NotificationBuilder(notificationType, getObjectName());
153 return (builder);
165 NotificationBuilder builder = mNotificationBuilders.get(notificationType);
167 if (builder == null) {
168 builder = createNotificationBuilder(notificationType);
169 mNotificationBuilders.put(notificationType, builder);
172 return (builder);
204 final NotificationBuilder builder
[all...]
/glassfish-3.1.2/tests/embedded/static/ejb/simple/src/test/java/org/glassfish/tests/embedded/ejb/test/
H A DEmbeddedTest.java63 Server.Builder builder = new Server.Builder("simple");
64 Server server = builder.build();
/glassfish-3.1.2/tests/embedded/inplanted/src/test/java/org/glassfish/tests/embedded/inplanted/
H A DInplantedTest.java82 ScatteredArchive.Builder builder = new ScatteredArchive.Builder("hello", f);
83 builder.addClassPath(f.toURI().toURL());
84 builder.resources(f);
85 ScatteredArchive war = builder.buildWar();
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/
H A DProfileTransformer.java96 final DocumentBuilder builder = bf.newDocumentBuilder();
97 builder.setEntityResolver(er);
106 doc = builder.parse(baseXml);
116 doc = builder.parse(rfn);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DTagSupport.java355 StringBuilder builder = new StringBuilder(tokenizer.nextToken());
357 builder.append('/');
358 builder.append(tokenizer.nextToken());
360 baseName = builder.toString();
383 builder = new StringBuilder(nvps.remove(0));
386 builder.append('&');
387 builder.append(nvp);
389 queryString = builder.toString();
/glassfish-3.1.2/common/amx-j2ee-impl/src/main/java/org/glassfish/admin/amx/impl/j2ee/
H A DDASJ2EEServerImpl.java75 final ObjectNameBuilder builder = getObjectNames();
78 final ObjectName jvmObjectName = builder.buildChildObjectName( J2EETypes.JVM, null);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/web/
H A DTagLibFactory.java88 private DocumentBuilder builder; field in class:TagLibFactory
192 builder = factory.newDocumentBuilder();
198 builder.setErrorHandler(eh);
199 builder.setEntityResolver(dh);
244 document = builder.parse(source);
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/
H A DUpgradeUtils.java150 DocumentBuilder builder = factory.newDocumentBuilder();
151 builder.setEntityResolver(new EntityResolver() {
158 resultDoc = builder.parse(new File(domainFileName));

Completed in 48 milliseconds

123