Searched refs:attrs (Results 1 - 25 of 73) sorted by relevance

123

/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/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/packaging/
H A DExtensionRef.java79 Attributes attrs = manifest.getMainAttributes();
80 name = attrs.getValue(extName + "-" + Attributes.Name.EXTENSION_NAME); // NOI18N
81 String s = attrs.getValue(
93 attrs.getValue(
96 attrs.getValue(
114 Attributes attrs = another.getManifest().getMainAttributes();
115 String name = attrs.getValue(Attributes.Name.EXTENSION_NAME);
116 String s = attrs.getValue(Attributes.Name.SPECIFICATION_VERSION);
124 String implVendorId = attrs.getValue(
126 String implVer = attrs
[all...]
/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/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...]
H A DAppUtil.java93 Map attrs = null;
97 attrs = RestUtil.getAttributesMap(prefix + endpoint);
100 attrs = RestUtil.getAttributesMap(endpoint);
102 return Boolean.parseBoolean((String) attrs.get("enabled"));
146 Map attrs = new HashMap();
154 attrs.put("id", applicationName);
156 attrs.put("enabled", enabled);
161 attrs.put("target", targetName);
162 RestUtil.restRequest(endpoint, attrs, (add)? "POST" : "DELETE", handlerCtx, false);
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/factory/
H A DMailSessionFactory.java149 Enumeration<RefAddr> attrs = ref.getAll();
150 while (attrs.hasMoreElements()) {
151 RefAddr attr = attrs.nextElement();
/glassfish-3.1.2/extras/grizzly-container/src/main/java/org/glassfish/extras/grizzly/
H A DGrizzlyModuleDescriptor.java88 NamedNodeMap attrs = adapter.getAttributes();
102 adapterProperties.put(attrs.getNamedItem("class-name").getNodeValue(), list);
103 if (attrs != null){
104 addAdapter(attrs.getNamedItem("context-root").getNodeValue(),
105 attrs.getNamedItem("class-name").getNodeValue());
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DJdbcTempHandler.java232 Map attrs = (Map) handlerCtx.getFacesContext().getExternalContext().getSessionMap().get("wizardMap");
240 attrs.put("name", name);
241 attrs.put("resType", resType);
242 if ("".equals(attrs.get("transactionIsolationLevel"))) {
243 attrs.remove("transactionIsolationLevel");
246 attrs.put("datasourceClassname", classnamefield);
247 attrs.put("driverClassname", driverfield);
249 attrs.put("datasourceClassname", classname);
250 attrs.put("driverClassname", driver);
296 Map<String, Object> attrs
[all...]
H A DLoggingHandlers.java160 HashMap attrs = new HashMap();
161 attrs.put("target", configName);
163 attrs, "GET", null, false);
178 attrs = new HashMap();
179 attrs.put("id", sb.toString());
180 attrs.put("target", configName);
181 RestUtil.restRequest((String)GuiUtil.getSessionValue("REST_URL") + "/delete-log-levels", attrs, "POST", null, false);
187 @HandlerInput(name = "attrs", type = Map.class, required=true),
193 Map<String,Object> attrs = (Map<String,Object>) handlerCtx.getInputValue("attrs");
[all...]
H A DSecurityHandler.java375 HashMap attrs = new HashMap<String, Object>();
376 attrs.put("id", configName);
377 attrs.put("realmName", realmName);
378 RestUtil.restRequest(tmpEP, attrs, "POST", handlerCtx, false);
388 attrs = new HashMap<String, Object>();
389 attrs.put("id", userid);
390 attrs.put(USERPASSWORD, password);
391 attrs.put("target", configName);
397 attrs.put("groups", grpList);
398 RestUtil.restRequest(endpoint, attrs, "POS
[all...]
H A DRestApiHandlers.java170 @HandlerInput(name = "attrs", type = Map.class, required = true),
179 Map<String, Object> attrs = (Map) handlerCtx.getInputValue("attrs");
180 if (attrs == null) {
181 attrs = new HashMap<String, Object>();
185 RestResponse response = sendCreateRequest(endpoint, attrs, (List) handlerCtx.getInputValue("skipAttrs"),
189 parseResponse(response, handlerCtx, endpoint, attrs, false, throwException);
198 * REST request. 'data' and 'attrs' are mutually exclusive. 'data'
204 @HandlerInput(name="attrs", type=Map.class, required=false),
213 Map<String, Object> attrs
[all...]
/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...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DModuleMonitoringLevelsConfigTest.java67 final AttributeList attrs = Util.getExtra(mml).getAttributes( allNames );
68 assert allNames.length == attrs.size();
/glassfish-3.1.2/build/glassfish-obr-builder/src/main/java/org/glassfish/obrbuilder/
H A DMain.java100 final Attributes attrs = jar.getManifest().getMainAttributes();
102 if (attrs.getValue(header) != null) return true;
/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/util/src/main/java/com/sun/enterprise/admin/util/
H A DInstanceStateFileProcessor.java134 NamedNodeMap attrs = n.getAttributes();
135 if(attrs != null) {
136 name = getNodeValue(attrs.getNamedItem("name"));
137 state = getNodeValue(attrs.getNamedItem("state"));
193 NamedNodeMap attrs = instance.getAttributes();
194 if (attrs == null)
196 String name = getNodeValue(attrs.getNamedItem("name"));
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DModuleMonitoringLevels.java148 final Map<String, Object> attrs = levels.attributesMap();
151 for (final String attrName : attrs.keySet()) {
152 final Object originalValue = attrs.get(attrName);
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DStdAttributesAccess.java73 /** Direct access to the MBeanServer, calls conn.setAttributes(objectName, attrs) */
74 public AttributeList setAttributes( AttributeList attrs )
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/config/
H A DAMXConfigProxy.java130 * on the parent element via 'attrs'. The entire operation is transactional (all or none).
138 @Param(name = "attrs")
140 Map<String,Object> attrs );
164 Direct access to the MBeanServer, calls conn.setAttributes(objectName, attrs).
168 public AttributeList setAttributesTransactionally( @Param(name = "attrs") AttributeList attrs )
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/
H A DResourceUtilities.java104 final HashMap attrs = res.getAttributes();
109 id = getNamedAttributeValue(attrs, CONNECTION_POOL_NAME); // this should come from refactored stuff TBD
112 id = getNamedAttributeValue(attrs, SECURITY_MAP_NAME); // this should come from refactored stuff TBD
115 id = getNamedAttributeValue(attrs, RESOURCE_ADAPTER_CONFIG_NAME); // this should come from refactored stuff TBD
118 id = getNamedAttributeValue(attrs, WORK_SECURITY_MAP_NAME);
122 id = getNamedAttributeValue(attrs, JNDI_NAME); // this should come from refactored stuff TBD
/glassfish-3.1.2/admingui/common/src/main/resources/shared/
H A DeditPageButtons_2.inc77 attrs="#{pageSession.valueMap}"
84 attrs="#{pageSession.valueMap2}"
115 attrs="#{pageSession.valueMap}"
122 attrs="#{pageSession.valueMap2}"
130 attrs="#{pageSession.valueMap2}"
/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/tests/quicklook/amx/src/test/amx/
H A DAMXConfigProxyTests.java283 final Map<String,Object> attrs = newPropertyMap(PROP_NAME);
285 final AMXConfigProxy prop = amx.createChild( propType, attrs );
342 final Map<String,Object> attrs = MapUtil.newMap();
343 attrs.put( "Name", name ); // IMPORTANT: this verifies that Name is mapped to jndi-name
344 attrs.put( "ResType", "java.lang.Properties" );
345 attrs.put( "ObjectType", "user" );
346 attrs.put( "Enabled", "false" );
347 attrs.put( "Description", "test" );
348 attrs.put( "FactoryClass", "com.foo.bar.FooFactory" );
355 attrs
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/util/
H A DDomUtil.java134 NamedNodeMap attrs=element.getAttributes();
135 if( attrs==null ) return null;
136 Node attN=attrs.getNamedItem(attName);
261 NamedNodeMap attrs=parent.getAttributes();
262 if( attrs==null ) return;
264 for (int i=0; i<attrs.getLength(); i++ ) {
265 Node n=attrs.item(i);

Completed in 4349 milliseconds

123