Author: richard.opalka(a)jboss.com
Date: 2009-05-05 08:20:45 -0400 (Tue, 05 May 2009)
New Revision: 9960
Modified:
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java
Log:
[JBWS-2074][JBWS-2634] refactoring momma
Modified:
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java
===================================================================
---
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java 2009-05-05
12:10:07 UTC (rev 9959)
+++
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java 2009-05-05
12:20:45 UTC (rev 9960)
@@ -47,7 +47,7 @@
* Delegate used to resolve JNDI names.
*/
private final EjbReferenceResolver delegate;
-
+
/**
* Constructor.
*/
@@ -63,13 +63,13 @@
{
throw new IllegalArgumentException("Ejb reference resolver cannot be
null");
}
-
+
this.unit = unit;
this.delegate = delegate;
}
-
+
/* (non-Javadoc)
- * @see
org.jboss.wsf.common.javax.resolvers.AbstractReferenceResolver#resolveField(java.lang.reflect.Field)
+ * @see
org.jboss.wsf.common.injection.resolvers.AbstractReferenceResolver#resolveField(java.lang.reflect.Field)
*/
@Override
protected String resolveField(final Field field)
@@ -82,7 +82,7 @@
}
/* (non-Javadoc)
- * @see
org.jboss.wsf.common.javax.resolvers.AbstractReferenceResolver#resolveMethod(java.lang.reflect.Method)
+ * @see
org.jboss.wsf.common.injection.resolvers.AbstractReferenceResolver#resolveMethod(java.lang.reflect.Method)
*/
@Override
protected String resolveMethod(final Method method)
@@ -93,10 +93,10 @@
return this.delegate.resolveEjb(unit, reference);
}
-
+
/**
* Constructs EjbReference.
- *
+ *
* @param ejbAnnotation ejb annotation
* @param type fall back type
* @return ejb reference instance
@@ -110,5 +110,5 @@
}
return new EjbReference(ejbAnnotation.beanName(), beanInterface,
ejbAnnotation.mappedName());
}
-
+
}
Modified:
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java
===================================================================
---
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java 2009-05-05
12:10:07 UTC (rev 9959)
+++
container/jboss50/branches/jboss500/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java 2009-05-05
12:20:45 UTC (rev 9960)
@@ -67,7 +67,7 @@
private static final ReferenceResolver RESOURCE_REFERENCE_RESOLVER = new
ResourceReferenceResolver();
private static final String EJB3_JNDI_PREFIX = "java:env/";
private EjbReferenceResolver ejbReferenceResolver;
-
+
@Override
public void create(Deployment dep)
{
@@ -136,7 +136,7 @@
/**
* Builds reference resolvers container.
- *
+ *
* @param unit deployment unit
* @return reference resolvers
*/
@@ -150,7 +150,7 @@
/**
* Builds JBossWS specific injection metadata from JBoss metadata.
- *
+ *
* @param envEntries environment entries
* @return JBossWS specific injection metadata
*/
@@ -195,7 +195,7 @@
/**
* Returns true if EJB represents webservice endpoint, false otherwise.
- *
+ *
* @param container to analyze
* @return true if webservice endpoint, false otherwise
*/
@@ -209,17 +209,17 @@
/**
* Sets ejb reference resolver. This method is invoked by MC.
- *
+ *
* @param resolver ejb reference resolver
*/
public void setEjbReferenceResolver(final EjbReferenceResolver resolver)
{
this.ejbReferenceResolver = resolver;
}
-
+
/**
* Gets ejb reference resolver.
- *
+ *
* @return ejb reference resolver
*/
public EjbReferenceResolver getEjbReferenceResolver()
@@ -231,5 +231,5 @@
return this.ejbReferenceResolver;
}
-
+
}
Modified:
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java
===================================================================
---
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java 2009-05-05
12:10:07 UTC (rev 9959)
+++
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/EJBBeanReferenceResolver.java 2009-05-05
12:20:45 UTC (rev 9960)
@@ -47,7 +47,7 @@
* Delegate used to resolve JNDI names.
*/
private final EjbReferenceResolver delegate;
-
+
/**
* Constructor.
*/
@@ -63,13 +63,13 @@
{
throw new IllegalArgumentException("Ejb reference resolver cannot be
null");
}
-
+
this.unit = unit;
this.delegate = delegate;
}
-
+
/* (non-Javadoc)
- * @see
org.jboss.wsf.common.javax.resolvers.AbstractReferenceResolver#resolveField(java.lang.reflect.Field)
+ * @see
org.jboss.wsf.common.injection.resolvers.AbstractReferenceResolver#resolveField(java.lang.reflect.Field)
*/
@Override
protected String resolveField(final Field field)
@@ -82,7 +82,7 @@
}
/* (non-Javadoc)
- * @see
org.jboss.wsf.common.javax.resolvers.AbstractReferenceResolver#resolveMethod(java.lang.reflect.Method)
+ * @see
org.jboss.wsf.common.injection.resolvers.AbstractReferenceResolver#resolveMethod(java.lang.reflect.Method)
*/
@Override
protected String resolveMethod(final Method method)
@@ -93,10 +93,10 @@
return this.delegate.resolveEjb(unit, reference);
}
-
+
/**
* Constructs EjbReference.
- *
+ *
* @param ejbAnnotation ejb annotation
* @param type fall back type
* @return ejb reference instance
@@ -110,5 +110,5 @@
}
return new EjbReference(ejbAnnotation.beanName(), beanInterface,
ejbAnnotation.mappedName());
}
-
+
}
Modified:
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java
===================================================================
---
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java 2009-05-05
12:10:07 UTC (rev 9959)
+++
container/jboss50/branches/jboss501/src/main/java/org/jboss/wsf/container/jboss50/deployment/metadata/InjectionMetaDataDeploymentAspect.java 2009-05-05
12:20:45 UTC (rev 9960)
@@ -67,7 +67,7 @@
private static final ReferenceResolver RESOURCE_REFERENCE_RESOLVER = new
ResourceReferenceResolver();
private static final String EJB3_JNDI_PREFIX = "java:env/";
private EjbReferenceResolver ejbReferenceResolver;
-
+
@Override
public void create(Deployment dep)
{
@@ -136,7 +136,7 @@
/**
* Builds reference resolvers container.
- *
+ *
* @param unit deployment unit
* @return reference resolvers
*/
@@ -150,7 +150,7 @@
/**
* Builds JBossWS specific injection metadata from JBoss metadata.
- *
+ *
* @param envEntries environment entries
* @return JBossWS specific injection metadata
*/
@@ -195,7 +195,7 @@
/**
* Returns true if EJB represents webservice endpoint, false otherwise.
- *
+ *
* @param container to analyze
* @return true if webservice endpoint, false otherwise
*/
@@ -209,17 +209,17 @@
/**
* Sets ejb reference resolver. This method is invoked by MC.
- *
+ *
* @param resolver ejb reference resolver
*/
public void setEjbReferenceResolver(final EjbReferenceResolver resolver)
{
this.ejbReferenceResolver = resolver;
}
-
+
/**
* Gets ejb reference resolver.
- *
+ *
* @return ejb reference resolver
*/
public EjbReferenceResolver getEjbReferenceResolver()
@@ -231,5 +231,5 @@
return this.ejbReferenceResolver;
}
-
+
}