Searched refs:collection (Results 1 - 21 of 21) sorted by relevance

/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/deploy/
H A DTest.java67 System.out.println("Creating new collection");
68 SecurityCollection collection = new SecurityCollection();
71 collection.addMethod("GET");
72 collection.addMethod("POST");
75 list = collection.findMethods();
79 collection.findMethod("DELETE"));
81 collection.findMethod("POST"));
84 collection.removeMethod("POST");
87 list = collection.findMethods();
91 collection
[all...]
H A DSecurityConstraint.java248 * Add a new web resource collection to those protected by this
251 * @param collection The new web resource collection
253 public void addCollection(SecurityCollection collection) { argument
255 if (collection == null)
261 results[collections.length] = collection;
300 * Return the web resource collection for the specified name, if any;
303 * @param name Web resource collection name to return
366 // No collection included in this constraint matches this request
403 * Remove the specified web resource collection fro
408 removeCollection(SecurityCollection collection) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DEnumerator.java67 * collection classes object <code>Iterator</code> so that existing APIs
84 * @param collection Collection whose values should be enumerated
86 public Enumerator(Collection<T> collection) { argument
88 this(collection.iterator());
96 * @param collection Collection whose values should be enumerated
99 public Enumerator(Collection<T> collection, boolean clone) { argument
101 this(collection.iterator(), clone);
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/jdo/impl/
H A DFieldGroupElementImpl.java113 /** Returns the field collection of this field group element. This
115 * @return the field collection of this field group element
119 /** Set the field collection of this field group element to the supplied
120 * collection. This method should only be used internally and for
122 * @param collection the field collection of this field group element
124 public void setCollection (PersistenceElementCollection collection) argument
126 _fields = collection;
H A DPersistenceClassElementImpl.java308 /** Returns the field collection of this class element. This method
310 * @return the field collection of this class element
317 /** Set the field collection of this class element to the supplied
318 * collection. This method should only be used internally and for
320 * @param collection the field collection of this class element
322 public void setFieldCollection (PersistenceElementCollection collection) argument
324 _fields = collection;
327 /** Returns the concurrency group collection of this class element.
330 * @return the concurrency group collection o
342 setGroupCollection(PersistenceElementCollection collection) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DTargetBasedResolver.java116 Collection<Dom> collection = parentDom.nodeElements(elementName);
117 if (collection==null) {
121 for (Dom child : collection) {
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DDirContextURLConnection.java135 protected DirContext collection; field in class:DirContextURLConnection
211 collection = (DirContext) object;
365 if (collection != null)
366 return collection;
431 * List children of this collection. The names given are relative to this
441 if ((resource == null) && (collection == null)) {
448 if (collection != null) {
H A DResourceAttributes.java173 public static final String COLLECTION_TYPE = "<collection/>";
240 protected boolean collection = false; field in class:ResourceAttributes
313 * Is collection.
319 return (collection);
325 * Set collection flag.
327 public void setCollection(boolean collection) { argument
328 this.collection = collection;
331 if (collection)
749 if (collection)
[all...]
H A DFileDirContext.java987 * List the resources which are members of a collection.
1128 * Is collection.
1132 collection = file.isDirectory();
1223 collection = file.isDirectory();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/
H A DRealmBase.java567 SecurityCollection[] collection = constraint.findCollections();
569 // If collection is null, continue to avoid an NPE
571 if (collection == null) {
605 for (int j=0; j < collection.length; j++){
606 String[] patterns = collection[j].findPatterns();
623 if(collection[j].findMethod(method)) {
643 SecurityCollection [] collection =
646 // If collection is null, continue to avoid an NPE
648 if ( collection == null) {
682 for (int j=0; j < collection
[all...]
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DJavaEEResourceBase.java92 Collection collection = properties_.values();
93 for (Iterator iter = collection.iterator(); iter.hasNext();) {
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/web/integration/
H A DWebPermissionUtil.java153 logger.log(Level.FINE,"JACC: constraint translation: begin parsing web resource collection");
156 // Enumerate over URLPatterns within collection
283 logger.log(Level.FINE,"JACC: constraint translation: end parsing web resource collection");
298 static void handleExcluded(Permissions collection, MapValue m, String name) { argument
313 collection.add(new WebResourcePermission(name,actions));
314 collection.add(new WebUserDataPermission(name,actions));
323 Permissions collection = map.get(roleName);
324 if (collection == null) {
325 collection = new Permissions();
326 map.put(roleName,collection);
372 handleNoAuth(Permissions collection, MapValue m, String name) argument
395 handleConnections(Permissions collection, MapValue m, String name) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/
H A DResultDesc.java93 * prefetched collection relationship fields. The ResultDesc is the
510 //Iterate over the results obtained and handle deferred collection updates.
514 // Aggregate functions return an object instead of a collection.
522 * Iterate the result collection applying updates to deferred collections.
523 * @param resultCollection Result collection.
540 * Process deferred updates for the prefetched collection fields.
554 // process deferred updates for prefetched collection relationships
664 if (parentField.cardinalityUPB > 1) { // parentField is a collection.
694 * Adds <code>value</code> to the collection for the given field <code>f</code>
702 Collection collection
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/antlr/
H A DSemantic.g633 protected JQLAST analyseCollectionCall(JQLAST dot, JQLAST collection, JQLAST method, JQLAST args)
639 checkContainsArgs(collection, method, firstArg);
642 dot.setFirstChild(collection);
643 collection.setNextSibling(firstArg);
652 dot.setFirstChild(collection);
653 collection.setNextSibling(null);
809 protected void checkContainsArgs(JQLAST collection, JQLAST method, JQLAST firstArg)
832 FieldInfo collectionFieldInfo = getCollectionField(collection);
835 errorMsg.unsupported(collection.getLine(), collection
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DV2DottedNameSupport.java82 // by default, it's a collection unless I can find the model for it
85 // a collection.
86 boolean collection = true;
91 collection = parent.model.getElement(childName).isCollection();
100 if (collection) {
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/
H A DRealmsManager.java197 Collection<Inhabitant<? extends Realm>> collection = habitat.getInhabitants(Realm.class);
199 for (Inhabitant<? extends Realm> it : collection) {
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Dcontrols.js786 var collection = this.options.collection || [];
788 collection.each(function(e,i) {
/glassfish-3.1.2/tests/quicklook/web/jruby/helloapp/public/javascripts/
H A Dcontrols.js467 // AJAX in-place editor and collection editor
765 this._collection = this.options.collection || [];
783 throw('Server returned an invalid collection representation.');
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/
H A DSQLStateManager.java496 // We reset the collection to clear the added and removed list before calling
690 // For a null managed collection relationship field, we replace it
1319 // add it to phase3sms collection. Any instance in phase3sms collection may be removed
1448 // called with an object from a collection relationship field. If
1449 // the collection is not a SCO collection, it is possible that it
1460 * Returns the value of the collection relationship field
1466 * @return The value of the collection relationship field
1920 // Query lookup, returns a collection
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/
H A DWebdavServlet.java284 * Key : path of the collection containing the lock-null resource<br>
286 * collection. Each element of the Vector is the path associated with
674 // collection
768 // Can't create a collection if a resource already exists at the given
1149 // Locking a collection (and all its member resources)
1151 // Checking if a child resource of this collection is
1164 // A child collection of this collection is locked
1178 // A child resource of this collection is locked
1345 // Checking inheritable collection lock
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DStandardContext.java2142 for(SecurityCollection collection : collections) {
2143 String patterns[] = collection.findPatterns();
6992 * specified collection. Each path will be a String starting with

Completed in 149 milliseconds