Package org.apache.naming
Class HandlerRef
java.lang.Object
javax.naming.Reference
org.apache.naming.AbstractRef
org.apache.naming.HandlerRef
- All Implemented Interfaces:
Serializable,Cloneable
Represents a reference handler for a web service.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault factory for this reference.static final StringHandler Classname address type.static final StringHandler Classname address type.static final StringHandlerName address type.static final StringHandler Classname address type.static final StringHandler Classname address type.static final StringHandler Classname address type.static final StringHandler PortName address type.static final StringHandler SoapRole address type.Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className -
Constructor Summary
ConstructorsConstructorDescriptionHandlerRef(String refname, String handlerClass) Create a new HandlerRef with the specified reference name and handler class.HandlerRef(String refname, String handlerClass, String factory, String factoryLocation) Create a new HandlerRef with the specified parameters. -
Method Summary
Methods inherited from class org.apache.naming.AbstractRef
getFactoryClassName, toString
-
Field Details
-
DEFAULT_FACTORY
Default factory for this reference.- See Also:
-
HANDLER_NAME
HandlerName address type.- See Also:
-
HANDLER_CLASS
Handler Classname address type.- See Also:
-
HANDLER_LOCALPART
Handler Classname address type.- See Also:
-
HANDLER_NAMESPACE
Handler Classname address type.- See Also:
-
HANDLER_PARAMNAME
Handler Classname address type.- See Also:
-
HANDLER_PARAMVALUE
Handler Classname address type.- See Also:
-
HANDLER_SOAPROLE
Handler SoapRole address type.- See Also:
-
HANDLER_PORTNAME
Handler PortName address type.- See Also:
-
-
Constructor Details
-
HandlerRef
Create a new HandlerRef with the specified reference name and handler class.- Parameters:
refname- The reference namehandlerClass- The handler class name
-
HandlerRef
Create a new HandlerRef with the specified parameters.- Parameters:
refname- The reference namehandlerClass- The handler class namefactory- The factory class namefactoryLocation- The factory location
-
-
Method Details
-
getDefaultFactoryClassName
Description copied from class:AbstractRefReturns the default factory class name.- Specified by:
getDefaultFactoryClassNamein classAbstractRef- Returns:
- the default factory class name
-