Searched defs:theClass (Results 1 - 16 of 16) sorted by relevance

/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/stringifier/
H A DStringifierRegistry.java53 @param theClass the Class to which the Stringifier should be associated
57 add( Class<?> theClass, Stringifier stringifier ); argument
63 @param theClass the Class
67 lookup( Class<?> theClass );
H A DStringifierRegistryIniter.java51 public void add( Class theClass, Stringifier theStringifier ); argument
H A DStringifierRegistryImpl.java84 add( final Class<?> theClass, final Stringifier stringifier ) argument
86 if ( lookup( theClass ) != null )
88 throw new IllegalArgumentException( "Stringifier already registered for: " + theClass.getName() );
91 mLookup.remove( theClass );
92 mLookup.put( theClass, stringifier );
97 lookup( final Class<?> theClass )
99 Stringifier stringifier = mLookup.get( theClass );
103 stringifier = mNextRegistry.lookup( theClass );
H A DStringifierRegistryIniterImpl.java77 add( Class theClass, Stringifier theStringifier ) argument
79 mRegistry.add( theClass, theStringifier );
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DIteratorUtil.java76 Class theClass = null;
82 theClass = (next == null) ? null : next.getClass();
89 if (next != null && next.getClass() != theClass)
91 theClass = null;
96 return (theClass);
101 @param theClass
107 final Class<T> theClass,
117 if (nextClass != theClass && nextClass != null)
125 if (!theClass.isAssignableFrom(nextClass))
105 isUniformClass( final Iterator<?> iter, final Class<T> theClass, final boolean exactMatch) argument
H A DArrayUtil.java125 public static <T> T[] newArray(final Class<T> theClass, int numItems) argument
127 return (T[]) (Array.newInstance(theClass, numItems));
143 final Class<T> theClass = TypeCast.asClass(items.getClass().getComponentType());
145 final T[] result = newArray(theClass, numItems);
190 final Class<T> theClass = TypeCast.asClass(items.getClass().getComponentType());
191 final T[] result = newArray(theClass, items.length + 1);
H A DOpenMBeanUtil.java158 private static int getArrayDimensions(final Class theClass) argument
160 final String classname = theClass.getName();
201 final Class<?> theClass = o.getClass();
203 if (theClass.isArray())
206 final int dimensions = getArrayDimensions(theClass);
207 final Class<?> elementClass = theClass.getComponentType();
H A DTypeCast.java346 @param theClass the Class which the element must extend
350 public static <T> Collection<T> checkCollection(final Collection<?> c, final Class<T> theClass) argument
356 checkObject(o, theClass);
367 @param theClass the Class which the element must extend
370 public static <T> List<T> checkList(final List<?> l, final Class<T> theClass) argument
376 checkObject(o, theClass);
387 @param theClass the Class which the element must extend
390 public static <T> Set<T> checkSet(final Set<?> s, final Class<T> theClass) argument
396 checkObject(o, theClass);
428 @param theClass th
433 checkObject(final Object o, final Class<T> theClass) argument
450 checkArray(final Object[] a, final Class<T> theClass) argument
508 checkedCollection(final Collection<?> c, final Class<T> theClass) argument
520 checkedSet(final Set<?> s, final Class<T> theClass) argument
532 checkedList(final List<?> l, final Class<T> theClass) argument
[all...]
H A DClassUtil.java127 @param theClass class to test
130 public static boolean classIsArray(Class theClass) argument
132 return (classnameIsArray(theClass.getName()));
187 Same as getPrimitiveArrayTypeCode( theClass.getName() )
189 @param theClass the Class object
192 public static char getPrimitiveArrayTypeCode(Class theClass) argument
196 if (classIsArray(theClass))
198 typeCode = getPrimitiveArrayTypeCode(theClass.getName());
314 ClassNameToClassMapping(String name, Class theClass) argument
317 mClass = theClass;
412 PrimitiveClassToObjectClass(final Class theClass) argument
437 ObjectClassToPrimitiveClass(final Class theClass) argument
462 IsPrimitiveClass(final Class theClass) argument
611 getFriendlyClassname(Class theClass) argument
700 getArrayDimensions(final Class theClass) argument
823 findMethod( final Class<?> theClass, final String methodName, final Class<?>[] sig) argument
869 InstantiateObject(final Class<T> theClass, final Object[] args) argument
943 InstantiateObject(final Class<T> theClass, final String theString) argument
1021 InstantiateFromString(final Class<?> theClass, final String theString) argument
[all...]
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/util/
H A DSingletonEnforcer.java58 public static <T> T get(final Class<T> theClass) { argument
59 return theClass.cast(mItems.get(theClass));
62 public static void register(final Class<?> theClass, final Object theInstance) { argument
63 if (mItems.putIfAbsent(theClass, theInstance) != null) {
64 throw new IllegalArgumentException("Illegal to register more than one instance of " + theClass.getName());
68 public static void deregister(final Class<?> theClass, final Object theInstance) { argument
69 if (!mItems.remove(theClass, theInstance)) {
70 throw new IllegalArgumentException("Cannot deregister the instance of " + theClass.getName());
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DAdminObject.java54 private String theClass; field in class:AdminObject
61 public AdminObject (String theInterface, String theClass) argument
64 this.theClass = theClass;
79 return this.theClass;
83 this.theClass = cl;
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/
H A DTestRunner.java99 testClass(final Class<junit.framework.TestCase> theClass) { argument
100 final TestSuite suite = new TestSuite(theClass);
101 return (runSuite(theClass.getName(), suite));
106 testClassThreaded(final Class<junit.framework.TestCase> theClass) { argument
107 final TestSuite suite = new ActiveTestSuite(theClass);
109 return (runSuite(theClass.getName(), suite));
118 for (final Class<junit.framework.TestCase> theClass : testClasses) {
120 testClassThreaded(theClass) :
121 testClass(theClass);
124 println("Test " + theClass
[all...]
H A DAMXTestBase.java336 final Class<T> theClass) {
337 return (theClass.cast(getProxy(objectName)));
334 getProxy( final ObjectName objectName, final Class<T> theClass) argument
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DClassUtil.java96 @param theClass class to test
100 classIsArray( Class theClass )
102 return( classnameIsArray( theClass.getName() ) );
144 Same as getPrimitiveArrayTypeCode( theClass.getName() )
150 getPrimitiveArrayTypeCode( Class theClass )
154 if ( classIsArray( theClass ) )
156 typeCode = getPrimitiveArrayTypeCode( theClass.getName() );
258 ClassNameToClassMapping( String name, Class theClass )
261 mClass = theClass;
290 Class theClass
613 InstantiateObject( final Class theClass, final Object [] args ) argument
682 InstantiateObject( final Class theClass, final String theString ) argument
751 InstantiateFromString( final Class theClass, final String theString ) argument
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/impl/
H A DClassControl.java140 private ClassFile theClass; field in class:ClassControl
209 return theClass;
389 theClass = theFile;
566 ConstClass cname = theClass.className();
840 theClass.write(dos);
970 theClass = new ClassFile(dis);
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DUtil.java368 final Class<T> theClass) {
371 return theClass.cast(value);
365 getAMXNotificationValue( final Notification notif, final String key, final Class<T> theClass) argument

Completed in 3541 milliseconds