- removed unused imports
This commit is contained in:
parent
c5052c9e78
commit
56d41a4a7c
3 changed files with 0 additions and 5 deletions
|
|
@ -36,7 +36,6 @@ class AkkaBeansException(message: String, cause: Throwable) extends BeansExcepti
|
|||
* @author <a href="http://jonasboner.com">Jonas Bonér</a>
|
||||
*/
|
||||
class ActorFactoryBean extends AbstractFactoryBean[AnyRef] with ApplicationContextAware {
|
||||
import StringReflect._
|
||||
import AkkaSpringConfigurationTags._
|
||||
@BeanProperty
|
||||
var id: String = ""
|
||||
|
|
@ -242,7 +241,6 @@ class ActorFactoryBean extends AbstractFactoryBean[AnyRef] with ApplicationConte
|
|||
* @author michaelkober
|
||||
*/
|
||||
class ActorForFactoryBean extends AbstractFactoryBean[AnyRef] with ApplicationContextAware {
|
||||
import StringReflect._
|
||||
import AkkaSpringConfigurationTags._
|
||||
|
||||
@BeanProperty
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ class SupervisionBeanDefinitionParser extends AbstractSingleBeanDefinitionParser
|
|||
}
|
||||
|
||||
private def parseTrapExits(element: Element): Array[Class[_ <: Throwable]] = {
|
||||
import StringReflect._
|
||||
val trapExits = DomUtils.getChildElementsByTagName(element, TRAP_EXIT_TAG).toArray.toList.asInstanceOf[List[Element]]
|
||||
trapExits.map(DomUtils.getTextValue(_).toClass.asInstanceOf[Class[_ <: Throwable]]).toArray
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ class SupervisionFactoryBean extends AbstractFactoryBean[AnyRef] {
|
|||
* Create configuration for TypedActor
|
||||
*/
|
||||
private[akka] def createComponent(props: ActorProperties): SuperviseTypedActor = {
|
||||
import StringReflect._
|
||||
val lifeCycle = if (!props.lifecycle.isEmpty && props.lifecycle.equalsIgnoreCase(VAL_LIFECYCYLE_TEMPORARY)) Temporary else Permanent
|
||||
val isRemote = (props.host ne null) && (!props.host.isEmpty)
|
||||
val withInterface = (props.interface ne null) && (!props.interface.isEmpty)
|
||||
|
|
@ -80,7 +79,6 @@ class SupervisionFactoryBean extends AbstractFactoryBean[AnyRef] {
|
|||
* Create configuration for UntypedActor
|
||||
*/
|
||||
private[akka] def createSupervise(props: ActorProperties): Server = {
|
||||
import StringReflect._
|
||||
val lifeCycle = if (!props.lifecycle.isEmpty && props.lifecycle.equalsIgnoreCase(VAL_LIFECYCYLE_TEMPORARY)) Temporary else Permanent
|
||||
val isRemote = (props.host ne null) && (!props.host.isEmpty)
|
||||
val actorRef = Actor.actorOf(props.target.toClass)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue