Searched defs:attrs (Results 1 - 19 of 19) sorted by relevance

/glassfish-3.1.2/tests/quicklook/weld/osgiweld/src/java/osgiweld/
H A DOsgiWeldServlet.java92 // Make sure all manifest attrs are there
128 private boolean checkBundleSymbolicName(Attributes attrs){ argument
129 String name = attrs.getValue("Bundle-SymbolicName");
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/
H A DJMSDestinationInfo.java59 private Properties attrs; field in class:JMSDestinationInfo
71 this.attrs = new Properties();
74 public JMSDestinationInfo (String destName, String destType, Properties attrs) argument
77 //ArgChecker.checkValid(attrs, "attrs"); //noi18n
78 this.attrs = attrs;
90 return (attrs);
99 sb.append(attrs);
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DCommandXMLResultParser.java84 private String attrToText(Attributes attrs, String attrName) { argument
85 return attrs.getValue(attrName);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DDOMWriter.java190 Attr attrs[] = sortAttributes(node.getAttributes());
191 for ( int i = 0; i < attrs.length; i++ ) {
192 Attr attr = attrs[i];
289 protected Attr[] sortAttributes(NamedNodeMap attrs) { argument
291 int len = (attrs != null) ? attrs.getLength() : 0;
294 array[i] = (Attr)attrs.item(i);
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/util/
H A DDomainXmlSAXParser.java72 public void startElement(String namespaceURI, String localName, String qName, Attributes attrs) argument
76 if (attrs != null) {
77 for (int i = 0; i < attrs.getLength(); i++) {
78 String aName = attrs.getQName(i); // Attr name
79 String aValue = attrs.getValue(aName);
81 domainXmlEventListenerClass=attrs.getValue("value");
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DBulkAccessImpl.java173 final AttributeList attrs) {
179 final AttributeList attrsCopy = (AttributeList) attrs.clone();
171 bulkSetAttributes( final ObjectName[] objectNames, final AttributeList attrs) argument
H A DAMXImplBase.java442 final AttributeList attrs = new AttributeList();
449 attrs.add(new Attribute(names[i], value));
455 return (attrs);
713 public AttributeList setAttributes(final AttributeList attrs) { argument
716 for (int i = 0; i < attrs.size(); ++i) {
717 final Attribute attr = (Attribute) attrs.get(i);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DGenericTest.java297 AttributeList attrs = null;
299 attrs = conn.getAttributes(objectName, new String[0]);
300 if (attrs == null) {
304 } else if (attrs.size() != 0) {
319 attrs = conn.getAttributes(objectName, new String[]{notFoundName});
320 if (attrs == null) {
324 } else if (attrs.size() != 0) {
345 final AttributeList attrs,
352 final Iterator iter = attrs.iterator();
405 final AttributeList attrs
343 validateAttributeTypes( final ObjectName objectName, final AttributeList attrs, final MBeanAttributeInfo[] attrInfos) argument
[all...]
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/
H A DCompositeMetadata.java375 SessionAttributesMapImpl(Collection<SessionAttributeMetadata> attrs) { argument
377 for (SessionAttributeMetadata attr : attrs) {
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DBaseDirContext.java838 * @param attrs the attributes to be used for the modification; may not
844 public void modifyAttributes(Name name, int mod_op, Attributes attrs) argument
846 modifyAttributes(name.toString(), mod_op, attrs);
856 * @param attrs the attributes to be used for the modification; may not
863 (String name, int mod_op, Attributes attrs)
903 * Binds a name to an object, along with associated attributes. If attrs
905 * with obj if obj is a DirContext, and no attributes otherwise. If attrs
906 * is non-null, the resulting binding will have attrs as its attributes;
911 * @param attrs the attributes to associate with the binding
917 public void bind(Name name, Object obj, Attributes attrs) argument
862 modifyAttributes(String name, int mod_op, Attributes attrs) argument
934 bind(String name, Object obj, Attributes attrs) argument
956 rebind(Name name, Object obj, Attributes attrs) argument
973 rebind(String name, Object obj, Attributes attrs) argument
994 createSubcontext(Name name, Attributes attrs) argument
1011 createSubcontext(String name, Attributes attrs) argument
[all...]
H A DWARDirContext.java500 ResourceAttributes attrs = new ResourceAttributes();
501 attrs.setCreationDate(new Date(zipEntry.getTime()));
502 attrs.setName(entry.getName());
504 attrs.setResourceType("");
505 attrs.setContentLength(zipEntry.getSize());
506 attrs.setLastModified(new Date(zipEntry.getTime()));
508 return attrs;
521 * @param attrs the attributes to be used for the modification; may not
527 public void modifyAttributes(String name, int mod_op, Attributes attrs) argument
554 * Binds a name to an object, along with associated attributes. If attrs
568 bind(String name, Object obj, Attributes attrs) argument
592 rebind(String name, Object obj, Attributes attrs) argument
615 createSubcontext(String name, Attributes attrs) argument
[all...]
H A DFileDirContext.java542 * @param attrs the attributes to be used for the modification; may not
548 public void modifyAttributes(String name, int mod_op, Attributes attrs) argument
575 * Binds a name to an object, along with associated attributes. If attrs
577 * with obj if obj is a DirContext, and no attributes otherwise. If attrs
578 * is non-null, the resulting binding will have attrs as its attributes;
583 * @param attrs the attributes to associate with the binding
589 public void bind(String name, Object obj, Attributes attrs) argument
599 rebind(file, obj, attrs);
606 * overwriting any existing binding. If attrs is null and obj is a
607 * DirContext, the attributes from obj are used. If attrs i
622 rebind(String name, Object obj, Attributes attrs) argument
633 rebind(File file, Object obj, Attributes attrs) argument
702 createSubcontext(String name, Attributes attrs) argument
[all...]
H A DProxyDirContext.java936 * @param attrs the attributes to be used for the modification; may not
942 public void modifyAttributes(Name name, int mod_op, Attributes attrs) argument
944 dirContext.modifyAttributes(parseName(name), mod_op, attrs);
955 * @param attrs the attributes to be used for the modification; may not
961 public void modifyAttributes(String name, int mod_op, Attributes attrs) argument
963 dirContext.modifyAttributes(parseName(name), mod_op, attrs);
1008 * Binds a name to an object, along with associated attributes. If attrs
1010 * with obj if obj is a DirContext, and no attributes otherwise. If attrs
1011 * is non-null, the resulting binding will have attrs as its attributes;
1016 * @param attrs th
1022 bind(Name name, Object obj, Attributes attrs) argument
1040 bind(String name, Object obj, Attributes attrs) argument
1065 rebind(Name name, Object obj, Attributes attrs) argument
1083 rebind(String name, Object obj, Attributes attrs) argument
1107 createSubcontext(Name name, Attributes attrs) argument
1127 createSubcontext(String name, Attributes attrs) argument
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/remote/
H A DRemoteCommand.java81 private Map<String, String> attrs; field in class:RemoteCommand
337 attrs = rac.getAttributes();
407 return attrs;
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DRemoteAdminCommand.java118 private Map<String, String> attrs; field in class:RemoteAdminCommand
443 return attrs;
1076 attrs = rrm.getMainAtts();
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DRestUtil.java149 public static Map<String, Object> restRequest(String endpoint, Map<String, Object> attrs, String method, HandlerContext handlerCtx, boolean quiet) { argument
150 return restRequest(endpoint, attrs, method, handlerCtx, quiet, true);
153 public static Map<String, Object> restRequest(String endpoint, Map<String, Object> attrs, String method, HandlerContext handlerCtx, boolean quiet, boolean throwException) { argument
157 if (attrs == null) {
168 attrs = new HashMap<String, Object>();
175 Map maskedAttr = maskOffPassword(attrs);
186 restResponse = post(endpoint, attrs);
189 restResponse = put(endpoint, attrs);
191 restResponse = get(endpoint, attrs);
193 restResponse = delete(endpoint, attrs);
221 maskOffPassword(Map<String, Object> attrs) argument
309 parseResponse(RestResponse response, HandlerContext handlerCtx, String endpoint, Object attrs, boolean quiet, boolean throwException) argument
484 sendCreateRequest(String endpoint, Map<String, Object> attrs, List<String> skipAttrs, List<String> onlyUseAttrs, List<String> convertToFalse) argument
495 sendUpdateRequest(String endpoint, Map<String, Object> attrs, List<String> skipAttrs, List<String> onlyUseAttrs, List<String> convertToFalse) argument
515 removeSpecifiedAttrs(Map<String, Object> attrs, List<String> removeList) argument
529 buildUseOnlyAttrMap(Map<String, Object> attrs, List<String> onlyUseAttrs) argument
545 convertNullValuesToFalse(Map<String, Object> attrs, List<String> convertToFalse) argument
641 getA(Map<String, Object> attrs, String key, boolean convert) argument
717 postRestRequestFromServlet(HttpServletRequest request, String endpoint, Map<String, Object> attrs, boolean quiet, boolean throwException) argument
729 getRestRequestFromServlet(HttpServletRequest request, String endpoint, Map<String, Object> attrs, boolean quiet, boolean throwException) argument
[all...]
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DAMXConfigImpl.java184 final MBeanAttributeInfo[] attrs = new MBeanAttributeInfo[attrInfos.size()];
185 attrInfos.toArray(attrs);
193 attrs,
252 public AttributeList setAttributes(final AttributeList attrs) argument
256 return setAttributesTransactionally(attrs);
267 public AttributeList setAttributesTransactionally(final AttributeList attrs) throws Exception argument
273 final AttributeList delegateSuccess = setAttributesInConfigBean(attrs);
365 final AttributeList attrs = getAttributes(attrNames);
367 for (final Object o : attrs)
457 public Map<String,Object> attrs() { retur method in class:AMXConfigImpl.CreateParams
601 ChildrenCreator( final List<CreateParams> childrenMaps, final Map<String,Object> attrs) argument
663 replaceNameWithKey( final Map<String,Object> attrs, final ConfigBeanJMXSupport spt) argument
[all...]
H A DConfigBeanJMXSupport.java355 final MBeanAttributeInfo[] attrs = new MBeanAttributeInfo[attrsList.size()];
356 attrsList.toArray(attrs);
368 attrs,
537 final List<AttributeMethodInfo> attrs,
548 attrs.add(a);
535 findStuff( final Class<? extends ConfigBeanProxy> intf, final List<AttributeMethodInfo> attrs, final List<ElementMethodInfo> elements, final List<DuckTypedInfo> duckTyped) argument
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/jmx/
H A DJMXUtil.java622 @param attrs the AttributeList
624 public static Map<String, Attribute> attributeListToAttributeMap(final AttributeList attrs) argument
628 for (int i = 0; i < attrs.size(); ++i)
630 final Attribute attr = (Attribute) attrs.get(i);
642 @param attrs the AttributeList
644 public static Map<String, Object> attributeListToValueMap(final AttributeList attrs) argument
648 for (int i = 0; i < attrs.size(); ++i)
650 final Attribute attr = (Attribute) attrs.get(i);
664 @param attrs the AttributeList
666 public static Map<String, String> attributeListToStringMap(final AttributeList attrs) argument
[all...]

Completed in 91 milliseconds