Searched refs:args (Results 1 - 25 of 291) sorted by relevance

1234567891011>>

/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/internal/
H A DShifter.java67 private Object[] args; field in class:Shifter
71 this.args = new Object[in.length];
72 System.arraycopy(in, 0, args, 0, in.length);
78 final Object[] tmp = new Object[args.length + 1];
80 for (int i = 0 ; i < args.length ; i++) {
81 tmp[i + 1] = args[i];
83 args = tmp;
87 if (args.length == 0)
89 final Object ret = args[0];
90 final Object[] tmp = new Object[args
[all...]
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/internal/
H A DShifter.java67 private Object[] args; field in class:Shifter
71 this.args = new Object[in.length];
72 System.arraycopy(in, 0, args, 0, in.length);
78 final Object[] tmp = new Object[args.length + 1];
80 for (int i = 0 ; i < args.length ; i++) {
81 tmp[i + 1] = args[i];
83 args = tmp;
87 if (args.length == 0)
89 final Object ret = args[0];
90 final Object[] tmp = new Object[args
[all...]
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DASMain.java53 public static void main(final String args[]) throws Exception { argument
55 GlassFishMain.main(args);
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DStringManager.java55 public static String getString(String messageKey, Object... args) { argument
56 return Strings.get(messageKey, args);
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DDebugOut.java60 public void debug(final Object... args); argument
62 public void debugMethod(final String methodName, final Object... args); argument
64 public void debugMethod(final String methodName, final String msg, final Object... args); argument
H A DDebugOutImpl.java91 public String toString(final Object... args) argument
93 return StringUtil.toString(", ", args);
101 public void debug(final Object... args) argument
105 mSink.println(toString(args));
111 final Object... args)
115 debug(methodString(methodName, args));
122 final Object... args)
126 debug(methodString(methodName, args) + ": " + msg);
132 final Object... args)
136 if (args
109 debugMethod( final String methodName, final Object... args) argument
119 debugMethod( final String msg, final String methodName, final Object... args) argument
130 methodString( final String name, final Object... args) argument
[all...]
/glassfish-3.1.2/common/simple-glassfish-api/src/main/java/org/glassfish/embeddable/
H A DCommandRunner.java58 * Command specific options are passed in the var-args argument of {@link #run(String, String...)} method.
90 * @param args command arguments.
93 CommandResult run(String command, String... args); argument
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DStringManager.java142 * @param args
145 public String getString(String key, Object[] args) { argument
155 Object nonNullArgs[] = args;
156 for (int i=0; i<args.length; i++) {
157 if (args[i] == null) {
158 if (nonNullArgs==args) nonNullArgs = args.clone();
167 for (int i = 0; i < args.length; i++) {
168 buf.append(" arg[" + i + "]=" + args[i]);
185 Object[] args
[all...]
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/apr/
H A DTomcatStarter.java72 String args[]; field in class:TomcatStarter
82 public static void main( String args[] ) {
99 Thread startThread=new Thread( new TomcatStarter(c, args));
113 public TomcatStarter( Class c, String args[] ) {
115 this.args=args;
121 Class<?> argClass=args.getClass();
124 m.invoke( c, new Object[] { args } );
128 if (args[0].equals("stop")) {
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/client/
H A DDTraceClientInvoker.java85 public void invoke(Object[] args) { argument
88 method.invoke(targetObj, fixArgs(args));
100 private Object[] fixArgs(Object[] args) { argument
104 // Very important to send back a COPY -- other listeners are sharing these args!!
106 Object[] fixedArgs = new Object[args.length];
108 for(int i = 0; i < args.length; i++) {
109 if(args[i] == null) {
114 Class clazz = args[i].getClass();
117 fixedArgs[i] = args[i].toString();
119 fixedArgs[i] = args[
[all...]
H A DReflectiveClientInvoker.java121 public void invoke(Object[] args) { argument
127 //We can use the args as it is
132 Object[] tempArgs = args;
133 args = new Object[size];
136 args[i] = cphm.computeValue(paramNames[i]);
139 args[i] = tempArgs[probeIndices[i]];
145 Object[] tempArgs = args;
146 args = new Object[size];
148 args[i] = tempArgs[probeIndices[i]];
153 method.invoke(target, (Object) args);
170 methodInvoke(Object[] args) argument
181 matchupArgs(Object[] args) argument
[all...]
/glassfish-3.1.2/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/
H A DArgumentManager.java75 args = new ArrayList<String>();
78 args.add(s);
83 args = sargs;
88 int len = args.size();
96 String name = args.get(i);
103 map.put(name, args.get(++i));
109 map.put("default", args.get(i));
116 List<String> args; field in class:ArgumentManager
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/util/
H A DCaptureSchemaWrapper.java62 public static void main(String args[]) { argument
64 CaptureSchema.main(args);
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/tomcat/util/res/
H A DStringManager.java182 * @param args
185 public String getString(String key, Object[] args) { argument
195 if(args==null){
196 args = new Object[1];
199 Object[] nonNullArgs = args;
200 for (int i=0; i<args.length; i++) {
201 if (args[i] == null) {
202 if (nonNullArgs==args){
203 nonNullArgs=(Object[])args.clone();
213 for (int i = 0; i < args
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/query/jqlc/
H A DErrorMsg.java107 Object args[] = {context, new Integer(line), new Integer(col), msg};
109 messages, "jqlc.errormsg.generic.msglinecolumn", args)); //NOI18N
114 Object args[] = {context, new Integer(col), msg};
116 messages, "jqlc.errormsg.generic.msgcolumn", args)); //NOI18N
120 Object args[] = {context, msg};
122 messages, "jqlc.errormsg.generic.msg", args)); //NOI18N
141 Object args[] = {context, new Integer(line), new Integer(col), msg};
143 messages, "jqlc.errormsg.generic.msglinecolumn", args)); //NOI18N
148 Object args[] = {context, new Integer(col), msg};
150 messages, "jqlc.errormsg.generic.msgcolumn", args)); //NOI18
[all...]
/glassfish-3.1.2/persistence/common/src/main/java/org/glassfish/persistence/common/
H A DI18NHelper.java113 Object []args = {arg};
114 return getMessage(messages, messageKey, args);
122 Object []args = {arg1, arg2};
123 return getMessage(messages, messageKey, args);
131 Object []args = {arg1, arg2, arg3};
132 return getMessage(messages, messageKey, args);
140 Object []args = {arg};
141 return getMessage(messages, messageKey, args);
148 Object []args = {new Integer(arg)};
149 return getMessage(messages, messageKey, args);
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/ejb30/
H A DCallbackMethodArgument.java71 Class<?>[] args = method.getParameterTypes();
72 if(isBeanMethod && args.length!=0) {
75 (args.length!=1 ||
76 !javax.interceptor.InvocationContext.class.isAssignableFrom(args[0]))) {
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/
H A DAppClientGroupFacade.java53 * @param args the command line arguments
55 public static void main(String[] args) { argument
65 AppClientFacade.launch(args);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/callbackhandler/
H A DStringManager.java54 public static String getString(String messageKey, Object... args) { argument
56 return MessageFormat.format(message, args);
/glassfish-3.1.2/tests/osgi-javaee/osgi-web/common/
H A DTestClient.java58 public static void main (String[] args) { argument
60 reporter = new Reporter(args[2]); //args[2] has testResult filename
61 testName = args[1];
62 client.doTest(args);
65 public void doTest(String[] args) { argument
67 String url = args[0];
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/
H A DDerbyControl.java225 public static void main(String[] args) { argument
227 if (args.length<3){
234 if (args.length == 3)
235 derbyControl = new DerbyControl(args[0], args[1], args[2]);
236 else if (args.length == 4 )
237 derbyControl = new DerbyControl(args[0], args[1], args[
[all...]
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbqlc/
H A DErrorMsg.java80 Object args[] = {new Integer(line), new Integer(col), text};
82 msgs, "EXC_PositionInfoMsgLineColumn", args)); //NOI18N
86 Object args[] = {new Integer(col), text};
88 msgs, "EXC_PositionInfoMsgColumn", args)); //NOI18N
136 Object args[] = {new Integer(line), new Integer(col), text};
138 msgs, "EXC_PositionInfoMsgLineColumn", args)); //NOI18N
142 Object args[] = {new Integer(col), text};
144 msgs, "EXC_PositionInfoMsgColumn", args)); //NOI18N
147 Object args[] = {text};
149 msgs, "EXC_PositionInfoMsg", args)); //NOI18
[all...]
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DServletImplInvocationHandler.java72 public Object invoke(Object proxy, Method method, Object[] args) argument
75 // NOTE : be careful with "args" parameter. It is null
80 return invokeJavaObjectMethod(this, method, args);
90 returnValue = implMethod.invoke(servletImplDelegate, args);
103 Method method, Object[] args)
117 Object other = Proxy.isProxyClass(args[0].getClass()) ?
118 Proxy.getInvocationHandler(args[0]) : args[0];
102 invokeJavaObjectMethod(InvocationHandler handler, Method method, Object[] args) argument
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DRestartServer.java163 new JavaClassRunner(classpath, props, classname, args);
174 argsString = props.getProperty("-asadmin-args");
183 argsString = props.getProperty("-startup-args");
204 args = argsString.split(",,,");
215 int oldlen = args.length;
221 System.arraycopy(args, 0, newArgs, 0, args.length);
224 args = newArgs;
235 for (int i = 0; i < args.length; i++) {
236 if (args[
309 private String[] args; field in class:RestartServer
[all...]
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DAppClientCommand.java104 protected final String[] args; field in class:AppClientCommand
130 * @param args the command line arguments
132 public static void main(String[] args) { argument
134 new AppClientCommand(args).run();
145 private AppClientCommand(String[] args) throws BootException, URISyntaxException { argument
146 this.args = args;
153 *the client itself) and save the returned args intended for the client.
155 // String[] appArgs = processCommandLine(args);
229 *@param args th
232 processCommandLine(String[] args) argument
376 getRequiredCommandOptionValue( String [] args, String optionName, AtomicInteger position, String errorKey, String defaultErrorMsg) argument
407 getRequiredUniqueCommandOptionValue(String [] args, String optionName, String currentValue, AtomicInteger position, String errorKey, String defaultMsg) argument
477 getLocalString(final String key, final String defaultMsg, final Object... args) argument
[all...]

Completed in 3961 milliseconds

1234567891011>>