Searched defs:map (Results 1 - 25 of 80) sorted by relevance

1234

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DParameterBridge.java64 * @param map is the original set of parameters as used to inject the supplemented
69 public String getOne(ParameterMap map, String resourceName); argument
76 * @param map is the original set of parameters as used to inject the supplemented
81 public List<String> get(ParameterMap map, String resourceName); argument
88 public String getOne(ParameterMap map, String resourceName) { argument
89 return map.getOne(resourceName);
93 public List<String> get(ParameterMap map, String resourceName) { argument
94 return map.get(resourceName);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DMapBuilder.java47 * Convenience class for building a literal map.
55 private final Map<K,V> map; field in class:MapBuilder
57 public MapBuilder(Map<K,V> map) { argument
58 this.map = map;
62 this.map = new HashMap<K,V>();
66 map.put(k,v);
71 * Returns the fully constructed map.
74 return map;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/authentication/
H A DRuntimeSecurityMap.java64 public boolean equals(Object map) { argument
65 if (map instanceof RuntimeSecurityMap) {
66 RuntimeSecurityMap rsm = (RuntimeSecurityMap) map;
/glassfish-3.1.2/security/webservices.security/src/main/java/com/sun/enterprise/security/webservices/
H A DClientPipeCreator.java72 public Pipe createSecurityPipe(PolicyMap map, argument
75 propBag.put(PipeConstants.POLICY, map);
109 // propBag.put(PipeConstants.POLICY, map);
H A DGFServerPipeCreator.java85 public Pipe createSecurityPipe(PolicyMap map, SEIModel sei, argument
90 props.put(PipeConstants.POLICY,map);
97 if (isSecurityEnabled(map, port)) {
110 // props.put(PipeConstants.POLICY,map);
117 // if (isSecurityEnabled(map, port)) {
126 * @param policyMap policy map for {@link this} assembler
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DCharsetMapper.java76 * Utility class that attempts to map from a Locale to the corresponding
131 map.load(stream);
150 private Properties map = new Properties();
152 protected Properties map = new Properties(); field in class:CharsetMapper
171 charset = map.getProperty(locale.toString());
176 charset = map.getProperty(locale.getLanguage());
191 map.put( locale, charset );
200 clone.map = (Properties)map.clone();
H A DEnumerator.java146 * @param map Map whose values should be enumerated
148 public Enumerator(Map<?, T> map) { argument
150 this(map.values().iterator());
158 * @param map Map whose values should be enumerated
161 public Enumerator(Map<?, T> map, boolean clone) { argument
163 this(map.values().iterator(), clone);
H A DParameterMap.java73 * Catalina internal parameter map objects to user classes without having
92 * Construct a new, empty map with the default initial capacity and
103 * Construct a new, empty map with the specified initial capacity and
106 * @param initialCapacity The initial capacity of this map
116 * Construct a new, empty map with the specified initial capacity and
119 * @param initialCapacity The initial capacity of this map
120 * @param loadFactor The load factor of this map
130 * Construct a new map with the same mappings as the given map.
132 * @param map Ma
134 ParameterMap(Map<K,V> map) argument
233 putAll(Map<? extends K,? extends V> map) argument
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/logger/
H A DFileLoggerHandlerFactory.java62 private static ConcurrentMap<String, FileLoggerHandler> map = field in class:FileLoggerHandlerFactory
69 FileLoggerHandler handler = map.get(logFile);
75 map.put(logFile, handler);
82 map.remove(logFile);
/glassfish-3.1.2/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/
H A DArgumentManager.java92 return map;
103 map.put(name, args.get(++i));
109 map.put("default", args.get(i));
112 return map;
115 Map<String,String> map = new HashMap<String,String>(); field in class:ArgumentManager
H A DRespawnInfo.java60 void put(Map<String, String> map) throws GFLauncherException { argument
62 map.put(PREFIX + "classname", classname);
63 map.put(PREFIX + "classpath", classpath);
64 putArgs(map);
75 private void putArgs(Map<String, String> map) throws GFLauncherException { argument
93 map.put(PREFIX + "args", argLine.toString());
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/utils/xml/
H A DXmlMap.java55 private final Map<String, Object> map; field in class:XmlMap
59 this.map = new HashMap<String, Object>();
62 public XmlMap(String name, Map<String, Object> map) { argument
64 this.map = map;
69 this.map = new HashMap<String, Object>();
71 map.put(entry.getKey().toString(), entry.getValue());
77 map.put(key, value);
84 Node mapNode = document.createElement("map");
86 for (Map.Entry<String, Object> entry : map
[all...]
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DDeleteNodeSshCommand.java88 final protected void setTypeSpecificOperands(List<String> command, ParameterMap map) { argument
90 command.add(map.getOne(NodeUtils.PARAM_REMOTEPORT));
93 command.add(map.getOne(NodeUtils.PARAM_REMOTEUSER));
95 String key = map.getOne(NodeUtils.PARAM_SSHKEYFILE);
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/
H A DDeleteNodeDcom.java77 final protected void setTypeSpecificOperands(List<String> command, ParameterMap map) { argument
79 command.add(map.getOne(NodeUtils.PARAM_REMOTEUSER));
81 command.add(map.getOne(NodeUtils.PARAM_WINDOWS_DOMAIN));
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DThrowableMapper.java91 public static Throwable map(final Throwable t) method in class:ThrowableMapper
98 final Throwable tCauseMapped = map(tCause);
172 public Throwable map() method in class:ThrowableMapper
174 return (map(mOriginal));
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DPropertiesDecoder.java69 Map<String,String> map = new HashMap<String,String>();
73 addPair(map, element);
76 return map;
79 private static void addPair(Map<String, String> map, String element) { argument
99 map.put(element, null);
104 map.put(element.substring(0, index), null);
108 map.put(element.substring(0, index), element.substring(index + 1));
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/collections/
H A DCollectionUtils.java61 Map<String,String> map = new HashMap<String,String>();
71 map.put(name.toString(), null);
73 map.put(name.toString(), value.toString());
75 return map;
81 * @param map The map to turn into a printable String
84 public static String toString(Map<String,String> map) { argument
85 String[] arr = toStringArray(map);
122 public static String[] toStringArray(Map<String,String> map) { argument
123 Set<String> set = map
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jmac/config/
H A DHttpServletHelper.java62 public HttpServletHelper(String appContext, Map map, argument
67 if (map != null) {
69 (WebBundleDescriptor)map.get(HttpServletConstants.WEB_BUNDLE);
84 map, cbh);
88 map.put(HttpServletConstants.POLICY_CONTEXT, policyContextId);
121 protected HandlerContext getHandlerContext(Map map) { argument
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DServerPipeCreator.java82 public abstract Pipe createSecurityPipe(PolicyMap map, SEIModel sei, argument
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/common/
H A DJsonActionReporter.java160 private String encodeMap (Map map) { argument
163 for (Map.Entry entry : (Set<Map.Entry>)map.entrySet()) {
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/services/
H A DServicesUtils.java58 static TokenValueSet map2Set(final Map<String, String> map){ argument
60 final Set<String> keys = map.keySet();
62 final String value = map.get(key);
71 Map<String,String> map, String templatePath, String targetPath) {
73 final LineTokenReplacer tr = new LineTokenReplacer(map2Set(map));
70 tokenReplaceTemplateAtDestination( Map<String,String> map, String templatePath, String targetPath) argument
/glassfish-3.1.2/security/jaspic-provider-framework/src/test/java/test/com/sun/jaspic/config/
H A DSampleClientAuthModule.java58 public void initialize(MessagePolicy mp, MessagePolicy mp1, CallbackHandler ch, Map map) throws AuthException { argument
H A DSampleServerAuthModule.java60 public void initialize(MessagePolicy mp, MessagePolicy mp1, CallbackHandler ch, Map map) throws AuthException { argument
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/
H A DEntityManagerFactoryWrapper.java113 public EntityManager createEntityManager(Map map) { argument
114 return getDelegate().createEntityManager(map);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DConnectionDefinitionUtils.java107 * @param map list of properties
109 private static void ignoreOracle10gProperties(String className, Map map){ argument
117 boolean property1Removed = removePropertyFromMap("connectionCachingEnabled", map);
118 boolean property2Removed = removePropertyFromMap("fastConnectionFailoverEnabled",map);
128 private static boolean removePropertyFromMap(String property, Map map){ argument
130 Iterator iterator = map.keySet().iterator();
237 private static void addDefaultJDBCProperties(Map map){ argument
242 //assuming that the provided map is not null
244 map.put(defaultProperties[i],null);
248 private static void addDefaultJDBCDriverProperties(Map map){ argument
259 containsProperty(String prop, Map map) argument
[all...]

Completed in 41 milliseconds

1234