* @exception Exception if an exception occurs creating the instance
*/
public Object getObjectInstance(Object obj, Name name, Context nameCtx,
- Hashtable environment) throws Exception {
+ Hashtable<?,?> environment) throws Exception {
// We only know how to deal with <code>javax.naming.Reference</code>s
// that specify a class name of "javax.sql.DataSource"
public static class InterceptorDefinition {
protected String className;
protected Map<String,InterceptorProperty> properties = new HashMap<String,InterceptorProperty>();
- protected volatile Class clazz = null;
+ protected volatile Class<?> clazz = null;
public InterceptorDefinition(String className) {
this.className = className;
}
}
- public static ObjectName getObjectName(Class clazz, String poolName) throws MalformedObjectNameException {
+ public static ObjectName getObjectName(Class<?> clazz, String poolName) throws MalformedObjectNameException {
ObjectName oname = new ObjectName(ConnectionPool.POOL_JMX_TYPE_PREFIX+clazz.getName()+",name=" + poolName);
return oname;
}