/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/ |
H A D | ResourceConfigTestBase.java | 59 addReference(final ResourceConfig rc) { argument 64 if (server.getResourceRefConfigMap().get(rc.getName()) != null) { 65 warning("ResourceRefConfig already exists for: " + rc.getName()); 68 server.createResourceRefConfig(rc.getName(), false); 73 warning("Couldn't add RefConfig to: " + Util.getObjectName(rc)); 77 assert server.getResourceRefConfigMap().get(rc.getName()) != null;
|
/glassfish-3.1.2/registration/registration-api/src/main/java/com/sun/enterprise/registration/ |
H A D | RegistrationAccountFactory.java | 67 public RegistrationAccount getRegistrationAccount(RegistrationAccountConfig rc) argument 71 final String className = rc.getClassName(); 72 Class registrationClass = Class.forName(rc.getClassName()); 73 if (rc.getParams() != null) { 76 return (RegistrationAccount) constructor.newInstance(new Object[] {rc} );
|
H A D | RegistrationServiceFactory.java | 66 public RegistrationService getRegistrationService(RegistrationServiceConfig rc) argument 70 final String className = rc.getClassName(); 71 Class registrationClass = Class.forName(rc.getClassName()); 72 if (rc.getParams() != null) { 75 return (RegistrationService) constructor.newInstance(new Object[] {rc} );
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/ |
H A D | RestConfigChangeListener.java | 65 private ResourceConfig rc; field in class:RestConfigChangeListener 69 public RestConfigChangeListener(Habitat habitat, Reloader reload, ResourceConfig rc, ServerContext sc) { argument 71 this.rc = rc; 91 rc.getContainerResponseFilters().clear(); 92 rc.getContainerRequestFilters().clear(); 93 rc.getFeatures().put(ResourceConfig.FEATURE_DISABLE_WADL, Boolean.FALSE); 98 rc.getContainerResponseFilters().add(LoggingFilter.class); 101 rc.getContainerRequestFilters().add(LoggingFilter.class); 105 rc [all...] |
H A D | LazyJerseyInit.java | 110 ResourceConfig rc = new DefaultResourceConfig(classes); 111 rc.getMediaTypeMappings().put("xml", MediaType.APPLICATION_XML_TYPE); 112 rc.getMediaTypeMappings().put("json", MediaType.APPLICATION_JSON_TYPE); 113 rc.getMediaTypeMappings().put("html", MediaType.TEXT_HTML_TYPE); 114 rc.getMediaTypeMappings().put("js", new MediaType("application", "x-javascript")); 115 rc.getContainerRequestFilters().add(CsrfProtectionFilter.class); 120 rc.getContainerResponseFilters().add(LoggingFilter.class); 123 rc.getContainerRequestFilters().add(LoggingFilter.class); 126 rc.getFeatures().put(ResourceConfig.FEATURE_DISABLE_WADL, Boolean.TRUE); 130 rc [all...] |
/glassfish-3.1.2/persistence/cmp/generator-database/src/main/java/com/sun/jdo/spi/persistence/generator/database/ |
H A D | MappingPolicy.java | 653 Object rc = null; 655 rc =loader.getResourceAsStream( 658 rc = 662 return rc; 757 String rc = null; 763 rc = (String) o; 766 rc = getJdbcTypeName(jdbcType); 769 return rc; 795 JDBCInfo rc = null; 807 rc [all...] |
/glassfish-3.1.2/tests/quicklook/ejb/embedded/src/test/ |
H A D | Client.java | 83 boolean rc = false; 94 rc = true; 102 rc = false; 108 return rc;
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/ |
H A D | VersionConsistencyCacheImpl.java | 185 CacheFactory rc = null; 242 rc = new LruCacheFactory(); 244 rc = new BasicCacheFactory(); 262 return rc; 274 int rc = defaultVal; 278 rc = Integer.parseInt(valString); 283 return rc; 295 float rc = defaultVal; 299 rc = Float.parseFloat(valString); 304 return rc; [all...] |
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/generator/ |
H A D | JavaClassWriterHelper.java | 129 String[] rc = new String[st.countTokens()]; 135 rc[ii] = indentation_[i] + s.substring(i + 1); 137 rc[ii] = s; 142 return rc; 153 Class rc = getWrapperClass(cls); 154 if (rc == null) { // not a primitive 155 rc = cls; 158 return rc; 204 String rc = getPrimitiveName(cls); 205 if (rc [all...] |
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/ |
H A D | ReloadResource.java | 58 public void reload(@Context Reloader r, @Context ResourceConfig rc , @Context ServerContext sc) { 63 rc.getClasses().add(org.glassfish.admin.rest.resources.StaticResource.class);
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ejb/ |
H A D | TransactionHelperImpl.java | 212 java.sql.Connection rc = null; 216 rc = ds.getConnection(); 218 rc = ds.getConnection(username, password); 221 return rc;
|
H A D | SunContainerHelper.java | 190 EJBLocalObject rc = null; 192 rc = ((Container)container).getEJBLocalObjectForPrimaryKey(pk, context); 197 return rc; 292 Object rc = null; 302 rc = ic.lookup(name); 304 if (rc instanceof PersistenceManagerFactoryImpl) { 305 pmf = (PersistenceManagerFactoryImpl)rc; 307 } else if (rc instanceof javax.sql.DataSource) { 327 name, rc.getClass().getName()));
|
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/cmp/ |
H A D | JDOEJB11HelperImpl.java | 172 Collection rc = new java.util.ArrayList(); 181 rc.add(o); 183 return rc; 194 java.util.Set rc = new java.util.HashSet(); 203 rc.add(o); 205 return rc; 220 Collection rc = new java.util.ArrayList(); 229 rc.add(o); 231 return rc; 242 Object rc [all...] |
H A D | JDOEJB20HelperImpl.java | 148 Collection rc = new java.util.ArrayList(); 158 rc.add(o); 160 return rc; 171 java.util.Set rc = new java.util.HashSet(); 182 rc.add(o); 184 return rc; 199 Collection rc = new java.util.ArrayList(); 210 rc.add(o); 212 return rc;
|
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | DeleteLocalInstanceCommand.java | 160 RemoteCommand rc = new RemoteCommand("_unregister-instance", programOpts, env); 161 rc.execute("_unregister-instance", 182 RemoteCommand rc = null; 185 rc = new RemoteCommand("get", this.programOpts, this.env); 186 rc.executeAndReturnOutput("get", INSTANCE_DOTTED_NAME);
|
H A D | CreateLocalInstanceCommand.java | 229 RemoteCommand rc = new RemoteCommand("_bootstrap-secure-admin", this.programOpts, this.env); 230 rc.setFileOutputDirectory(instanceDir); 232 final int result = rc.execute(new String[] {"_bootstrap-secure-admin"}); 364 RemoteCommand rc = new RemoteCommand("_register-instance", this.programOpts, this.env); 365 return rc.execute(argsArray); 371 RemoteCommand rc = new RemoteCommand("get", this.programOpts, this.env); 372 rc.executeAndReturnOutput("get", INSTANCE_DOTTED_NAME); 383 RemoteCommand rc = null; 385 rc = new RemoteCommand("get", this.programOpts, this.env); 386 Map<String, String> map = rc [all...] |
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/constraint/ |
H A D | Constraint.java | 263 boolean rc = true; 265 for (int i = stack.size() - 1; i >= 0 && rc; ) { 281 rc = false; 284 rc = false; 290 return rc;
|
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | ListConfigsCommand.java | 142 ReferenceContainer rc = domain.getReferenceContainerNamed(target); 143 if (rc == null) return null; 145 if (rc.isServer()) { 146 Server s =((Server) rc); 151 else if (rc.isCluster()) { 152 Cluster cluster = (Cluster) rc;
|
H A D | ListClustersCommand.java | 205 ReferenceContainer rc = domain.getReferenceContainerNamed(whichTarget); 207 if (rc == null) { 210 else if (rc.isServer()) { 211 Server s =((Server) rc); 216 else if (rc.isCluster()) { 217 Cluster cluster = (Cluster) rc; 268 for (ReferenceContainer rc : rcs) 269 if (rc.isCluster()) 270 clusters.add((Cluster) rc);
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/ |
H A D | EjbClassImplementsComponentInterface.java | 103 Class rc = Class.forName(component, false, getVerifierContext().getClassLoader()); 113 if (interfaces[i].getName().equals(rc.getName()) && 123 new Object[] {descriptor.getEjbClassName(),rc.getName()})); 139 new Object[] {descriptor.getEjbClassName(),rc.getName()}));
|
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/ |
H A D | EnhancerModel.java | 105 BufferedInputStream rc = null; 107 rc = new BufferedInputStream(is); 109 rc = (BufferedInputStream)is; 111 return rc;
|
/glassfish-3.1.2/web/web-core/src/main/java/org/glassfish/web/valve/ |
H A D | TomcatValveAdapter.java | 97 int rc = gfValve.invoke(request, response); 98 if (rc != GlassFishValve.INVOKE_NEXT) {
|
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/logging/ |
H A D | UpgradeLogging.java | 101 RepositoryConfig rc = new RepositoryConfig(); 102 String configDir = rc.getRepositoryRoot()+ File.separator +rc.getRepositoryName() + 103 File.separator+ rc.getInstanceName() +File.separator + "config"; 104 PEFileLayout layout = new PEFileLayout(rc);
|
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/jmx/ |
H A D | AttributeListUtils.java | 151 final char rc = '_'; 152 assert (Character.isJavaIdentifierStart(rc) && Character.isJavaIdentifierPart(rc)); 156 chars[0] = rc; 160 chars[i] = rc;
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
H A D | MultimodeCommand.java | 166 int rc = 0; 226 rc = cmd.execute(args); 230 rc = ERROR; 255 rc = ERROR; 265 switch (rc) { 287 CLIUtil.writeCommandToDebugLog(args, rc); 289 return rc;
|