| org.apache.cxf.service.factory.ReflectionServiceFactoryBean
All known Subclasses: org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean,
ReflectionServiceFactoryBean | public class ReflectionServiceFactoryBean extends AbstractServiceFactoryBean (Code) | | Introspects a class and builds a
Service from it. If a WSDL URL is
specified, a Service model will be directly from the WSDL and then metadata
will be filled in from the service class. If no WSDL URL is specified, the
Service will be constructed directly from the class structure.
|
Method Summary | |
protected FaultInfo | addFault(InterfaceInfo service, OperationInfo op, Class exClass) | protected void | buildServiceFromClass() | protected void | buildServiceFromWSDL(String url) | protected void | checkForHeaderElement(ServiceInfo serviceInfo, MessagePartInfo mpi) | public Service | create() | protected void | createBareMessage(ServiceInfo serviceInfo, OperationInfo opInfo, boolean isOut) | public Endpoint | createEndpoint(EndpointInfo ei) | protected void | createEndpoints() | protected void | createFaultForException(Class> exClass, FaultInfo fi) | protected void | createInputWrappedMessageParts(OperationInfo op, Method method, MessageInfo inMsg) | protected InterfaceInfo | createInterface(ServiceInfo serviceInfo) | protected Invoker | createInvoker() | protected void | createMessageParts(InterfaceInfo intf, OperationInfo op, Method method) | protected OperationInfo | createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m) | protected QName | createOutputMessageName(OperationInfo op, Method method) | protected void | createOutputWrappedMessageParts(OperationInfo op, Method method, MessageInfo outMsg) | protected ServiceInfo | createServiceInfo(InterfaceInfo intf) | protected void | createWrappedSchema(ServiceInfo serviceInfo, AbstractMessageContainer wrappedMessage, AbstractMessageContainer unwrappedMessage, QName wraperBeanName) | protected String | getAction(OperationInfo op, Method method) | protected Class> | getBeanClass(Class> exClass) | public List<AbstractServiceConfiguration> | getConfigurations() | public EndpointInfo | getEndpointInfo() | public QName | getEndpointName() | public Executor | getExecutor() | protected QName | getFaultName(InterfaceInfo service, OperationInfo o, Class exClass, Class beanClass) | protected Class | getHolderClass(ParameterizedType paramType) | public List<String> | getIgnoredClasses() | public List<Method> | getIgnoredMethods() | protected QName | getInParameterName(OperationInfo op, Method method, int paramNumber) | protected QName | getInPartName(OperationInfo op, Method method, int paramNumber) | protected QName | getInputMessageName(OperationInfo op, Method method) | protected InterfaceInfo | getInterfaceInfo() | public QName | getInterfaceName() | public Invoker | getInvoker() | protected SimpleMethodDispatcher | getMethodDispatcher() | protected QName | getOperationName(InterfaceInfo service, Method method) Creates a name for the operation from the method name. | protected QName | getOutParameterName(OperationInfo op, Method method, int paramNumber) | protected QName | getOutPartName(OperationInfo op, Method method, int paramNumber) | public Map<String, Object> | getProperties() | protected Class | getRequestWrapper(Method selected) | protected String | getRequestWrapperClassName(Method selected) | protected Class | getResponseWrapper(Method selected) | protected String | getResponseWrapperClassName(Method selected) | public Class> | getServiceClass() | public List<AbstractServiceConfiguration> | getServiceConfigurations() | protected String | getServiceName() | protected String | getServiceNamespace() | public QName | getServiceQName() | public String | getStyle() | public Boolean | getWrapped() Returns non-null if wrapped mode was explicitely disabled or enabled. | public String | getWsdlURL() | protected boolean | hasOutMessage(Method m) | protected void | initializeDefaultInterceptors() | protected void | initializeFaultInterceptors() | protected void | initializeFaults(InterfaceInfo service, OperationInfo op, Method method) | protected void | initializeParameter(MessagePartInfo part, Class rawClass, Type type) | protected void | initializeServiceConfigurations() | protected void | initializeServiceModel() | protected void | initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method selected) | protected void | initializeWSDLOperations() | protected void | initializeWrappedSchema(ServiceInfo serviceInfo) | protected boolean | isAsync(Method method) | public boolean | isHeader(Method method, int j) | protected boolean | isInParam(Method method, int j) | protected boolean | isMatchOperation(String methodNameInClass, String methodNameInWsdl) | protected boolean | isOutParam(Method method, int j) | public boolean | isPopulateFromClass() | public boolean | isRPC(Method method) | protected boolean | isValidMethod(Method method) | protected boolean | isWrapped(Method method) | public boolean | isWrapped() | protected boolean | qualifyWrapperSchema() | public void | setConfigurations(List<AbstractServiceConfiguration> configurations) | public void | setEndpointName(QName en) | public void | setExecutor(Executor executor) | public void | setIgnoredClasses(List<String> ignoredClasses) | public void | setIgnoredMethods(List<Method> ignoredMethods) | public void | setInvoker(Invoker invoker) | public void | setPopulateFromClass(boolean fomClass) | public void | setProperties(Map<String, Object> properties) | public void | setServiceClass(Class> serviceClass) | public void | setServiceConfigurations(List<AbstractServiceConfiguration> serviceConfigurations) | public void | setServiceName(QName serviceName) | public void | setWrapped(boolean style) | public void | setWsdlURL(String wsdlURL) | public void | setWsdlURL(URL wsdlURL) |
ENDPOINT_CLASS | final public static String ENDPOINT_CLASS(Code) | | |
ReflectionServiceFactoryBean | public ReflectionServiceFactoryBean()(Code) | | |
addFault | protected FaultInfo addFault(InterfaceInfo service, OperationInfo op, Class exClass)(Code) | | |
buildServiceFromClass | protected void buildServiceFromClass()(Code) | | |
buildServiceFromWSDL | protected void buildServiceFromWSDL(String url)(Code) | | |
checkForHeaderElement | protected void checkForHeaderElement(ServiceInfo serviceInfo, MessagePartInfo mpi)(Code) | | |
create | public Service create()(Code) | | |
createBareMessage | protected void createBareMessage(ServiceInfo serviceInfo, OperationInfo opInfo, boolean isOut)(Code) | | |
createEndpoint | public Endpoint createEndpoint(EndpointInfo ei) throws EndpointException(Code) | | |
createEndpoints | protected void createEndpoints()(Code) | | |
createFaultForException | protected void createFaultForException(Class> exClass, FaultInfo fi)(Code) | | |
createInputWrappedMessageParts | protected void createInputWrappedMessageParts(OperationInfo op, Method method, MessageInfo inMsg)(Code) | | |
createInterface | protected InterfaceInfo createInterface(ServiceInfo serviceInfo)(Code) | | |
createInvoker | protected Invoker createInvoker()(Code) | | |
createMessageParts | protected void createMessageParts(InterfaceInfo intf, OperationInfo op, Method method)(Code) | | |
createOperation | protected OperationInfo createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m)(Code) | | |
createOutputMessageName | protected QName createOutputMessageName(OperationInfo op, Method method)(Code) | | |
createOutputWrappedMessageParts | protected void createOutputWrappedMessageParts(OperationInfo op, Method method, MessageInfo outMsg)(Code) | | |
createServiceInfo | protected ServiceInfo createServiceInfo(InterfaceInfo intf)(Code) | | |
createWrappedSchema | protected void createWrappedSchema(ServiceInfo serviceInfo, AbstractMessageContainer wrappedMessage, AbstractMessageContainer unwrappedMessage, QName wraperBeanName)(Code) | | |
getEndpointInfo | public EndpointInfo getEndpointInfo()(Code) | | |
getFaultName | protected QName getFaultName(InterfaceInfo service, OperationInfo o, Class exClass, Class beanClass)(Code) | | |
getInParameterName | protected QName getInParameterName(OperationInfo op, Method method, int paramNumber)(Code) | | |
getInPartName | protected QName getInPartName(OperationInfo op, Method method, int paramNumber)(Code) | | |
getInputMessageName | protected QName getInputMessageName(OperationInfo op, Method method)(Code) | | |
getInterfaceInfo | protected InterfaceInfo getInterfaceInfo()(Code) | | |
getInvoker | public Invoker getInvoker()(Code) | | |
getOperationName | protected QName getOperationName(InterfaceInfo service, Method method)(Code) | | Creates a name for the operation from the method name. If an operation
with that name already exists, a name is create by appending an integer
to the end. I.e. if there is already two methods named
doSomething , the first one will have an operation name of
"doSomething" and the second "doSomething1".
Parameters: service - Parameters: method - |
getOutParameterName | protected QName getOutParameterName(OperationInfo op, Method method, int paramNumber)(Code) | | |
getOutPartName | protected QName getOutPartName(OperationInfo op, Method method, int paramNumber)(Code) | | |
getRequestWrapperClassName | protected String getRequestWrapperClassName(Method selected)(Code) | | |
getResponseWrapperClassName | protected String getResponseWrapperClassName(Method selected)(Code) | | |
getServiceNamespace | protected String getServiceNamespace()(Code) | | |
getWrapped | public Boolean getWrapped()(Code) | | Returns non-null if wrapped mode was explicitely disabled or enabled.
|
hasOutMessage | protected boolean hasOutMessage(Method m)(Code) | | |
initializeDefaultInterceptors | protected void initializeDefaultInterceptors()(Code) | | |
initializeFaultInterceptors | protected void initializeFaultInterceptors()(Code) | | |
initializeFaults | protected void initializeFaults(InterfaceInfo service, OperationInfo op, Method method)(Code) | | |
initializeParameter | protected void initializeParameter(MessagePartInfo part, Class rawClass, Type type)(Code) | | |
initializeServiceConfigurations | protected void initializeServiceConfigurations()(Code) | | |
initializeServiceModel | protected void initializeServiceModel()(Code) | | |
initializeWSDLOperation | protected void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method selected)(Code) | | |
initializeWSDLOperations | protected void initializeWSDLOperations()(Code) | | |
initializeWrappedSchema | protected void initializeWrappedSchema(ServiceInfo serviceInfo)(Code) | | |
isInParam | protected boolean isInParam(Method method, int j)(Code) | | |
isMatchOperation | protected boolean isMatchOperation(String methodNameInClass, String methodNameInWsdl)(Code) | | |
isOutParam | protected boolean isOutParam(Method method, int j)(Code) | | |
isPopulateFromClass | public boolean isPopulateFromClass()(Code) | | |
isValidMethod | protected boolean isValidMethod(Method method)(Code) | | |
isWrapped | public boolean isWrapped()(Code) | | |
qualifyWrapperSchema | protected boolean qualifyWrapperSchema()(Code) | | |
setEndpointName | public void setEndpointName(QName en)(Code) | | |
setIgnoredClasses | public void setIgnoredClasses(List<String> ignoredClasses)(Code) | | |
setIgnoredMethods | public void setIgnoredMethods(List<Method> ignoredMethods)(Code) | | |
setInvoker | public void setInvoker(Invoker invoker)(Code) | | |
setPopulateFromClass | public void setPopulateFromClass(boolean fomClass)(Code) | | |
setServiceClass | public void setServiceClass(Class> serviceClass)(Code) | | |
setServiceName | public void setServiceName(QName serviceName)(Code) | | |
setWrapped | public void setWrapped(boolean style)(Code) | | |
setWsdlURL | public void setWsdlURL(URL wsdlURL)(Code) | | |
|
|