Author: richard.opalka(a)jboss.com
Date: 2008-02-11 04:56:55 -0500 (Mon, 11 Feb 2008)
New Revision: 5646
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java
Log:
remove useless field + minor optimization
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java 2008-02-11
08:56:01 UTC (rev 5645)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java 2008-02-11
09:56:55 UTC (rev 5646)
@@ -21,14 +21,12 @@
*/
package org.jboss.wsf.framework.deployment;
-import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.management.ObjectName;
-import org.jboss.wsf.spi.binding.BindingCustomization;
import org.jboss.wsf.spi.deployment.AbstractExtensible;
import org.jboss.wsf.spi.deployment.Endpoint;
import org.jboss.wsf.spi.deployment.LifecycleHandler;
@@ -59,7 +57,6 @@
private InvocationHandler invocationHandler;
private LifecycleHandler lifecycleHandler;
private EndpointMetrics metrics;
- private List<BindingCustomization> bindingCustomizsations = new
ArrayList<BindingCustomization>();
private String address;
private List<RecordProcessor> recordProcessors = new
Vector<RecordProcessor>();
@@ -101,7 +98,7 @@
this.address = address;
}
- public Class getTargetBeanClass()
+ public Class<?> getTargetBeanClass()
{
if (targetBean == null)
throw new IllegalStateException("Target bean not set");
@@ -116,7 +113,7 @@
if (classLoader == null)
throw new IllegalStateException("Deployment classloader not set");
- Class beanClass;
+ Class<?> beanClass;
try
{
beanClass = classLoader.loadClass(targetBean);
Show replies by date