Searched refs:object (Results 1 - 25 of 74) sorted by relevance

123

/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/util/
H A DAssertion.java58 static protected final void affirm(Object object) { argument
59 if (object == null)
63 static protected final void affirm(Object object, String msg) { argument
64 if (object == null)
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/
H A DStatsProvider.java50 * Get object, from which <tt>StatsProvider</tt> can get statistics directly
58 * Set object, from which <tt>StatsProvider</tt> can get statistics directly
61 * @param object statistics
63 public void setStatsObject(Object object); argument
H A DKeepAliveStatsProvider.java84 public void setStatsObject(Object object) { argument
85 if (object instanceof KeepAliveStats) {
86 keepAliveStats = (KeepAliveStats) object;
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/stringifier/
H A DStringifier.java44 Convert an object to a String. The intent of this is to provide a flexible means
48 - an object may not have implemented a toString() method
61 Produce a String representation of an object. The actual output has no
67 @param object the Object for which a String should be produced
69 public String stringify( Object object );
H A DProviderStringifier.java60 stringify( Object object )
62 final Provider provider = (Provider)object;
H A DX509CertificateStringifier.java114 stringify( Object object )
116 return( stringify( (X509Certificate)object ) );
/glassfish-3.1.2/tests/quicklook/ejb/cmp/src/java/util/
H A DDebug.java60 public static final void print(String msg, Object object) { argument
64 System.err.println(" " + object.getClass().getName());
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/pool/
H A DObjectFactory.java52 * An object factory that 'knows' how to create / destroy objects
57 * Create an object. Called from Pool.getObject(param)
63 * Destroy an object. Called from Pool.destroyObject.
65 public void destroy(Object object); argument
/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/comm/
H A DIConnection.java62 Write an object to the connection
64 public void send( java.io.Serializable object ) throws Exception;
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/mbeans/
H A DJmxBoundedMultiLruCache.java79 Object object = boundedMultiLruCache.getStatByName(
86 if (object instanceof String &&
87 ((String) object).equals(Constants.STAT_DEFAULT)) {
91 return (Long) object;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DFieldDescriptor.java76 * Constructs a field descriptor from the supplied java.lang.reflect.Field object.
86 public boolean equals(Object object) { argument
87 if (object instanceof FieldDescriptor) {
88 FieldDescriptor otherFieldDescriptor = (FieldDescriptor) object;
H A DJmsDestinationReferenceDescriptor.java46 * I am an object representing a dependency on a JMS Destination
156 public boolean equals(Object object) { argument
157 if (object instanceof JmsDestinationReference) {
158 JmsDestinationReference destReference = (JmsDestinationReference) object;
H A DMessageDestinationReferenceDescriptor.java49 * An object representing the use of a message destination in a
270 public boolean equals(Object object) { argument
271 if (object instanceof MessageDestinationReference) {
273 (MessageDestinationReference) object;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/provider/
H A DActionReportResultXmlProvider.java106 XmlMap object = new XmlMap("part");
107 object.put("message", part.getMessage());
108 object.put("properties", new XmlMap("properties", part.getProps()));
111 object.put("children", processChildren(part.getChildren()));
113 array.put(object);
129 protected XmlMap getExtraProperties(XmlObject object, Properties props) { argument
142 protected Object getXmlObject(Object object) { argument
144 if (object == null) {
146 } else if (object instanceof Collection) {
147 result = processCollection((Collection)object);
[all...]
H A DActionReportResultJsonProvider.java126 JSONObject object = new JSONObject();
127 object.put("message", part.getMessage());
128 object.put("properties", part.getProps());
131 object.put("children", processChildren(part.getChildren()));
133 array.put(object);
149 protected JSONObject getExtraProperties(JSONObject object, Properties props) throws JSONException { argument
160 protected Object getJsonObject(Object object) throws JSONException { argument
162 if (object instanceof Collection) {
163 result = processCollection((Collection)object);
164 } else if (object instanceo
[all...]
H A DActionReportResultHtmlProvider.java142 Object object = entry.getValue();
143 if (object == null) {
145 } else if (object instanceof Collection) {
146 if (!((Collection) object).isEmpty()) {
147 Collection c = ((Collection) object);
159 } else if (object instanceof Map) {
160 if (!((Map) object).isEmpty()) {
161 Map m = (Map) object;
181 result.append("<li>").append(entry.getKey()).append(" : ").append(object.toString()).append("</li>");
352 protected String getHtmlRepresentation(Object object) { argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DArrayStack.java185 * specified object exists on this stack, where the top-most element is
186 * considered to be at distance <code>1</code>. If the object is not
191 * @param object the object to be searched for
192 * @return the 1-based depth into the stack of the object, or -1 if not found
194 public int search(E object) { argument
199 if ((object == null && current == null) ||
200 (object != null && object.equals(current))) {
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/
H A Dprototype.js66 Object.inspect = function(object) {
68 if (object == undefined) return 'undefined';
69 if (object == null) return 'null';
70 return object.inspect ? object.inspect() : object.toString();
78 var __method = this, args = $A(arguments), object = args.shift();
80 return __method.apply(object, args.concat($A(arguments)));
84 Function.prototype.bindAsEventListener = function(object) {
87 return __method.call(object, even
[all...]
/glassfish-3.1.2/tests/community/persistence/servlet-jpa-app/src/java/persistence/
H A DWebCustomer.java146 * Returns a hash code value for the object. This implementation computes
147 * a hash code value based on the id fields in this object.
148 * @return a hash code value for this object.
158 * Determines whether another object is equal to this WebCustomer. The result is
159 * <code>true</code> if and only if the argument is not null and is a WebCustomer object that
160 * has the same id field values as this object.
161 * @param object the reference object with which to compare
162 * @return <code>true</code> if this object is the same as the argument;
166 public boolean equals(Object object) { argument
[all...]
/glassfish-3.1.2/tests/embedded/cdi_ejb_jpa/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/
H A DPerson.java76 public boolean equals(Object object) { argument
78 if (!(object instanceof Person)) {
81 Person other = (Person) object;
/glassfish-3.1.2/tests/embedded/glassfish_resources_xml/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/
H A DPerson.java76 public boolean equals(Object object) { argument
78 if (!(object instanceof Person)) {
81 Person other = (Person) object;
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DDirContextURLConnection.java90 * Note: All the object attribute names are the WebDAV names, not the HTTP
139 * Other unknown object.
141 protected Object object; field in class:DirContextURLConnection
173 * Connect to the DirContext, and retrive the bound object, as well as
174 * its attributes. If no object is bound with the name specified in the
206 object = context.lookup(path);
208 if (object instanceof Resource)
209 resource = (Resource) object;
210 if (object instanceof DirContext)
211 collection = (DirContext) object;
[all...]
H A DProxyDirContext.java284 * Retrieves the named object. If name is empty, returns a new instance
289 * @param name the name of the object to look up
290 * @return the object bound to name
307 Object object = dirContext.lookup(parseName(name));
308 if (object instanceof InputStream)
309 return new Resource((InputStream) object);
311 return object;
316 * Retrieves the named object.
318 * @param name the name of the object to look up
319 * @return the object boun
[all...]
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/
H A DResourceNamingService.java86 public void publishObject(GenericResourceInfo resourceInfo, String jndiName, Object object,boolean rebind) argument
115 JNDIBinding bindings = new ModuleScopedResourceBinding(getModuleScopedName(jndiName), object);
144 JNDIBinding bindings = new ApplicationScopedResourceBinding(getAppScopedName(jndiName), object);
151 bindAppScopedNameForAppclient(object, jndiName, applicationName);
153 namingManager.publishObject(jndiName, object, true);
157 public void publishObject(ResourceInfo resourceInfo, Object object,boolean rebind) throws NamingException{ argument
159 publishObject(resourceInfo, jndiName, object, rebind);
162 private void bindAppScopedNameForAppclient(Object object, String jndiName, String applicationName) argument
169 namingManager.publishObject(internalGlobalJavaAppName, object, true);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIServletExternalResolver.java151 Object object = null;
153 object = req.getAttribute(targetName);
154 if (object == null) {
160 object = req.getAttribute(name);
161 if (object != null) {
168 return object;
187 Object object = getReqAttributeIgnoreCase(name);
188 if (object != null) {
189 retVal = object.toString();

Completed in 276 milliseconds

123