Searched refs:pattern (Results 1 - 25 of 83) sorted by relevance

1234

/glassfish-3.1.2/security/javax.security.jacc/src/main/java/javax/security/jacc/
H A DURLPattern.java78 private final String pattern; field in class:URLPattern
82 this.pattern = DEFAULT_PATTERN;
90 this.pattern = DEFAULT_PATTERN;
93 else this.pattern = p;
96 /* changed to order default pattern / below extension */
104 if (this.pattern.startsWith("*."))
106 else if (this.pattern.startsWith("/") &&
107 this.pattern.endsWith("/*")) this.patternType = PT_PREFIX;
108 else if (this.pattern.equals(DEFAULT_PATTERN))
125 * by pattern typ
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/web/
H A DIdempotentUrlPatternNode.java52 * node to handle idempotent-url-pattern node
99 IdempotentUrlPattern pattern) {
101 (Element)super.writeDescriptor(parent, nodeName, pattern);
103 // url-pattern
104 if (pattern.getAttributeValue(pattern.URL_PATTERN) != null) {
105 setAttribute(patternNode, RuntimeTagNames.URL_PATTERN, pattern.getAttributeValue(pattern.URL_PATTERN));
109 if (pattern.getAttributeValue(pattern
98 writeDescriptor(Node parent, String nodeName, IdempotentUrlPattern pattern) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DAbstractRulesImpl.java130 * Registers a new Rule instance matching the specified pattern.
134 * @param pattern Nesting pattern to be matched for this Rule
137 public void add(String pattern, Rule rule) { argument
147 registerRule(pattern, rule);
152 * Register rule at given pattern.
156 * @param pattern Nesting pattern to be matched for this Rule
159 abstract protected void registerRule(String pattern, Rule rule); argument
169 * nesting pattern, o
178 match(String namespaceURI, String pattern) argument
[all...]
H A DRules.java68 * the rules that match a particular pattern of nested elements discovered
115 * Register a new Rule instance matching the specified pattern.
117 * @param pattern Nesting pattern to be matched for this Rule
120 public void add(String pattern, Rule rule); argument
131 * nesting pattern, or a zero-length List if there are no matches. If more
138 * @param pattern Nesting pattern to be matched
140 public List<Rule> match(String namespaceURI, String pattern); argument
H A DRulesBase.java74 * types of pattern matching rules:</p>
76 * <li><em>Exact Match</em> - A pattern "a/b/c" exactly matches a
79 * <li><em>Tail Match</em> - A pattern "&#42;/a/b" matches a
92 * The set of registered Rule instances, keyed by the matching pattern.
93 * Each value is a List containing the Rules for that pattern, in the
182 * Register a new Rule instance matching the specified pattern.
184 * @param pattern Nesting pattern to be matched for this Rule
187 public void add(String pattern, Rule rule) { argument
189 int patternLength = pattern
234 match(String namespaceURI, String pattern) argument
290 lookup(String namespaceURI, String pattern) argument
[all...]
H A DDigester.java245 * The current match pattern for nested element processing.
1766 * <p>Register a new Rule matching the specified pattern.
1769 * @param pattern Element matching pattern
1772 public void addRule(String pattern, Rule rule) { argument
1775 getRules().add(pattern, rule);
1806 * @param pattern Element matching pattern
1810 public void addCallMethod(String pattern, String methodName) { argument
1813 pattern,
1827 addCallMethod(String pattern, String methodName, int paramCount) argument
1854 addCallMethod(String pattern, String methodName, int paramCount, String paramTypes[]) argument
1883 addCallMethod(String pattern, String methodName, int paramCount, Class<?> paramTypes[]) argument
1903 addCallParam(String pattern, int paramIndex) argument
1921 addCallParam(String pattern, int paramIndex, String attributeName) argument
1939 addCallParam(String pattern, int paramIndex, boolean fromStack) argument
1955 addCallParam(String pattern, int paramIndex, int stackIndex) argument
1971 addCallParamPath(String pattern,int paramIndex) argument
1995 addObjectParam(String pattern, int paramIndex, Object paramObj) argument
2011 addFactoryCreate(String pattern, String className) argument
2026 addFactoryCreate(String pattern, Class<?> clazz) argument
2043 addFactoryCreate(String pattern, String className, String attributeName) argument
2061 addFactoryCreate(String pattern, Class<?> clazz, String attributeName) argument
2078 addFactoryCreate(String pattern, ObjectCreationFactory creationFactory) argument
2094 addFactoryCreate( String pattern, String className, boolean ignoreCreateExceptions) argument
2115 addFactoryCreate( String pattern, Class<?> clazz, boolean ignoreCreateExceptions) argument
2138 addFactoryCreate( String pattern, String className, String attributeName, boolean ignoreCreateExceptions) argument
2162 addFactoryCreate( String pattern, Class clazz, String attributeName, boolean ignoreCreateExceptions) argument
2185 addFactoryCreate(String pattern, ObjectCreationFactory creationFactory, boolean ignoreCreateExceptions) argument
2202 addObjectCreate(String pattern, String className) argument
2217 addObjectCreate(String pattern, Class<?> clazz) argument
2234 addObjectCreate(String pattern, String className, String attributeName) argument
2252 addObjectCreate(String pattern, String attributeName, Class<?> clazz) argument
2268 addSetNext(String pattern, String methodName) argument
2287 addSetNext(String pattern, String methodName, String paramType) argument
2303 addSetRoot(String pattern, String methodName) argument
2319 addSetRoot(String pattern, String methodName, String paramType) argument
2333 addSetProperties(String pattern) argument
2349 addSetProperties( String pattern, String attributeName, String propertyName) argument
2368 addSetProperties( String pattern, String [] attributeNames, String [] propertyNames) argument
2387 addSetProperty(String pattern, String name, String value) argument
2402 addSetTop(String pattern, String methodName) argument
2421 addSetTop(String pattern, String methodName, String paramType) argument
[all...]
H A DWithDefaultsRulesWrapper.java83 * when a pattern does not match any other rule, then rule alpha will be called.
85 * <p><code>WithDefaultsRulesWrapper</code> follows the <em>Decorator</em> pattern.</p>
151 * Return list of rules matching given pattern.
155 public List<Rule> match(String namespaceURI, String pattern) { argument
156 List<Rule> matches = wrappedRules.match(namespaceURI, pattern);
193 * Adds a Rule to be fired on given pattern.
196 public void add(String pattern, Rule rule) { argument
197 wrappedRules.add(pattern, rule);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/deploy/
H A DServletMap.java74 public void addURLPattern(String pattern) { argument
77 results[urlPatterns.length] = pattern;
H A DSecurityConstraint.java455 * Does the specified request path match the specified URL pattern?
461 * @param pattern URL pattern to be compared against
464 private boolean matchPattern(String path, String pattern) {
467 private boolean matchPattern(String path, String pattern, argument
474 if ((pattern == null) || (pattern.length() == 0))
475 pattern = "/";
480 pattern = pattern
[all...]
H A DSecurityCollection.java241 * Add a URL pattern to be part of this web resource collection.
243 public void addPattern(String pattern) { argument
245 if (pattern == null)
247 pattern = RequestUtil.urlDecode(pattern);
251 results[patterns.length] = pattern;
319 * Is the specified pattern part of this web resource collection?
321 * @param pattern Pattern to be compared
323 public boolean findPattern(String pattern) { argument
326 if (patterns[i].equals(pattern))
412 removePattern(String pattern) argument
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DGetCommand.java86 private String pattern; field in class:GetCommand
115 if (pattern.contains(".log-service")) {
122 if (!pattern.equals("*")) {
123 if (pattern.lastIndexOf(".") == -1 || pattern.lastIndexOf(".") == (pattern.length() - 1)) {
131 // first let's get the parent for this pattern.
132 TreeNode[] parentNodes = getAliasedParent(domain, pattern);
134 // reset the pattern.
136 if(!pattern
[all...]
H A DListCommand.java97 String pattern=""; field in class:ListCommand
119 // first let's get the parent for this pattern.
120 TreeNode[] parentNodes = getAliasedParent(domain, pattern);
125 // reset the pattern.
127 if (!pattern.startsWith(parentNodes[0].relativeName)) {
128 prefix= pattern.substring(0, pattern.indexOf(parentNodes[0].relativeName));
130 pattern = parentNodes[0].relativeName;
132 Map<Dom, String> matchingNodes = getMatchingNodes(dottedNames, pattern);
133 if (matchingNodes.isEmpty() && pattern
[all...]
H A DSetCommand.java139 // last element from the target pattern which is supposed to be the
149 String pattern = target.substring(0, lastDotIndex);
156 if ("property".equals(pattern.substring(trueLastIndexOf(pattern, '.') + 1))) {
158 pattern = target.replaceAll("\\\\\\.", "\\.");
163 // first let's get the parent for this pattern.
164 TreeNode[] parentNodes = getAliasedParent(domain, pattern);
166 // reset the pattern.
171 // handle the case where the pattern references an attribute of the top-level node
173 // pattern i
[all...]
H A DMonitoringReporter.java95 sb.append("\nPattern=[").append(pattern).append("]").append('\n');
138 // means that the pattern is already perfect!
184 pattern = arg;
196 // say the pattern is "something" -->
201 String localPattern = prependServerDot(pattern);
286 * GetCommand will be called on the instance. BUT -- the pattern arg will
287 * just have the actual pattern -- the target name will NOT be in there!
303 paramMap.set("DEFAULT", pattern);
315 // we really need this pattern to start with the instance-name (DAS's instance-name is "server"
373 pattern
508 getIgnoreBackslash(TreeMap map, String pattern) argument
654 private String pattern; field in class:MonitoringReporter
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/flashlight/datatree/
H A DTreeNode.java111 * Returns all nodes that match the given Regex pattern as specified by the
115 * If the V2Compatible flag is turned on, then the pattern is considered a v2 pattern.
116 * @param pattern Find a node that matches the pattern. By default pattern should follow the conventions
120 * The implementation should consider pattern as a v2 pattern.
123 public List<TreeNode> getNodes (String pattern, boolean ignoreDisabled, boolean gfv2Compatible); argument
130 public List<TreeNode> getNodes (String pattern); argument
144 getPossibleParentNode(String pattern) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/valves/
H A DAccessLogValve.java84 * access log with the detailed line contents matching a configurable pattern.
214 * If the current log pattern is the same as the common access log
215 * format pattern, then we'll set this variable to true and log in
229 * The pattern used to format our access log lines.
231 private String pattern = null; field in class:AccessLogValve
432 * Return the format pattern.
436 return (this.pattern);
442 * Set the format pattern, first translating any recognized alias.
444 * @param pattern The new pattern
446 setPattern(String pattern) argument
881 replace(char pattern, Date date, Request request, Response response, long time) argument
[all...]
H A DJDBCAccessLogValve.java87 * pattern="combined" resolveHosts="false"
97 * <code>resolveHosts</code> and <code>pattern</code> ("common" or "combined"
179 * pattern = "common";
198 pattern = "common";
222 private String pattern; field in class:JDBCAccessLogValve
397 * Sets the logging pattern. The patterns supported correspond to the
402 * @param pattern The name of the logging pattern.
404 public void setPattern(String pattern) { argument
405 this.pattern
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/
H A DServletUrlPatternExactCheck.java58 * @testDescription: The urlpattern of the servlet-mapping must be an exact match pattern
83 String pattern =(String) en.nextElement();
84 if (pattern.indexOf("*") == -1) {
90 new Object[] {pattern}));
100 new Object[] {pattern}));
/glassfish-3.1.2/admin/monitor/src/main/java/org/glassfish/flashlight/datatree/impl/
H A DAbstractTreeNode.java251 Pattern pattern = Pattern.compile(AbstractTreeNode.REGEX);
252 String[] tokens = pattern.split(completeName);
329 public List<TreeNode> getNodes(String pattern, boolean ignoreDisabled, boolean gfv2Compatible) { argument
330 pattern = pattern.replace("\\.", "\\\\\\."); // \. goes to \\\.
338 // Here we replace slash in the given pattern with the token to pull out
343 List<TreeNode> list = getNodesInternal(pattern, ignoreDisabled, gfv2Compatible);
346 list = getNodesInternal(pattern.replace("/", SLASH), ignoreDisabled, gfv2Compatible);
349 list = getNodesInternal(decodeNameToDots(pattern), ignoreDisabled, gfv2Compatible);
354 private List<TreeNode> getNodesInternal(String pattern, boolea argument
393 getNodes(String pattern) argument
397 convertGFv2PatternToRegex(String pattern) argument
415 getPossibleParentNode(String pattern) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStrftime.java91 * Initialize our pattern translation
201 * Search the provided pattern and get the C standard
205 * @param pattern The pattern to search
206 * @return The modified pattern
208 protected String convertDateFormat( String pattern ) {
215 for(int i = 0; i < pattern.length(); i++) {
216 char c = pattern.charAt(i);
227 inside = translateCommand( buf, pattern, i, inside );
270 * @param pattern comman
275 translateCommand( StringBuilder buf, String pattern, int index, boolean oldInside ) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DWebServiceHandlerChain.java90 public void setServiceNamePattern(String pattern) { argument
91 serviceNamePattern = pattern;
99 public void setPortNamePattern(String pattern) { argument
100 portNamePattern = pattern;
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DToolsImpl.java153 ObjectName pattern = newObjectName(searchStringIn);
154 if (pattern == null && (searchStringIn.length() == 0 || searchStringIn.equals(WILD_ALL))) {
155 pattern = newObjectName("*:*");
158 if (pattern == null) {
167 pattern = newObjectName("*:type=" + temp + WILD_SUFFIX);
170 if (pattern == null) {
171 pattern = newObjectName("*:j2eeType=" + temp + WILD_SUFFIX);
175 if (pattern == null) {
176 pattern = newObjectName("*:name=" + temp + WILD_SUFFIX);
180 if (pattern
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/classfile/
H A DClosureCompilerImplBase.java113 * @param pattern the pattern for the names of classes to be excluded from
116 * name begins with this pattern, it does not try to compute
123 public void addExcludedPattern(String pattern) { argument
124 excludedPatterns.add(pattern);
166 String pattern = (String) i.next();
167 if (className.startsWith(pattern)) {
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/
H A DJarURIPattern.java55 * a given pattern.
57 * @param pattern
59 public static List<String> getJarEntries(URI uri, Pattern pattern) { argument
83 if (pattern.matcher(entryName).matches()) {
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/soap/
H A DOperation.java93 * @param pattern message exchange pattern name.
95 public Operation(String operationName, String pattern) argument
97 mPattern = pattern;
114 * Gets the message exchange pattern name.
116 * @return message exchange pattern name.
252 buffer.append(", pattern = " + mPattern);

Completed in 2848 milliseconds

1234