org.codehaus.xfire.spring.config
Class ServiceFactoryBean

java.lang.Object
  extended by org.codehaus.xfire.spring.config.ServiceFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class ServiceFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean

Author:
Tomasz Sztelak

Constructor Summary
ServiceFactoryBean(java.lang.String name)
           
 
Method Summary
protected  org.codehaus.xfire.service.binding.ObjectServiceFactory getAnnotationServiceFactory(java.lang.String annotationType)
           
 java.lang.String getName()
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 org.codehaus.xfire.transport.TransportManager getTransportManager()
           
 void initialize()
           
 boolean isSingleton()
           
protected  java.lang.Class loadClass(java.lang.String className)
           
protected  org.codehaus.xfire.service.binding.ObjectServiceFactory loadServiceFactory(java.lang.String serviceFactoryName)
           
 void setName(java.lang.String name)
           
 void setTransportManager(org.codehaus.xfire.transport.TransportManager transportManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceFactoryBean

public ServiceFactoryBean(java.lang.String name)
Method Detail

getTransportManager

public org.codehaus.xfire.transport.TransportManager getTransportManager()

setTransportManager

public void setTransportManager(org.codehaus.xfire.transport.TransportManager transportManager)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getAnnotationServiceFactory

protected org.codehaus.xfire.service.binding.ObjectServiceFactory getAnnotationServiceFactory(java.lang.String annotationType)
                                                                                       throws java.lang.Exception
Parameters:
annotationType -
bindingProvider -
Returns:
Throws:
java.lang.Exception

loadServiceFactory

protected org.codehaus.xfire.service.binding.ObjectServiceFactory loadServiceFactory(java.lang.String serviceFactoryName)
Parameters:
bindingProvider -
serviceFactoryName -
Returns:

loadClass

protected java.lang.Class loadClass(java.lang.String className)
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2008. All Rights Reserved.