Lines Matching refs:constructorParameter
1197 * For details and the values of constructorParameter that are
1203 * @param constructorParameter the value to pass to the constructor,
1204 * or null if this type of service does not use a constructorParameter.
1209 * constructorParameter is invalid for this type of service.
1213 public Object newInstance(Object constructorParameter)
1229 return newInstanceGeneric(constructorParameter);
1232 if (constructorParameter != null) {
1234 ("constructorParameter not used with " + type
1241 if (constructorParameter != null) {
1242 Class argClass = constructorParameter.getClass();
1245 ("constructorParameter must be instanceof "
1252 return cons.newInstance(constructorParameter);
1293 * no-args constructor if constructorParameter is null, otherwise
1296 private Object newInstanceGeneric(Object constructorParameter)
1299 if (constructorParameter == null) {
1303 Class argClass = constructorParameter.getClass();
1316 Object o = con.newInstance(new Object[] {constructorParameter});