|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.session.SessionServiceInitializer
public class SessionServiceInitializer
Utility used to parse a Session Service XML document
to create a
configuration
.
The XML document must conform to the service's
XML schema
SessionServiceInitObject
Field Summary | |
---|---|
static java.lang.String |
XML_ATTRIBUTE_TIMEOUT
|
static java.lang.String |
XML_ATTRIBUTE_USER_CONTEXT
SessionService element attribute "userContextName"
that may optionally specify the name
of the user context. |
static java.lang.String |
XML_ELEMENT_SESSION_SERVICE
SessionService root XML element. |
Method Summary | |
---|---|
AbstractServiceComponentConfig |
createConfigFromDocument(org.w3c.dom.Document document)
Converts an XML document to a service configuration. |
static SessionServiceInitObject |
parse(org.w3c.dom.Document document)
Gets an instance of the SessionServiceInitObject using the specified configuration data found in the XML formatted deployment configuration file. |
Field Detail |
---|
public static final java.lang.String XML_ELEMENT_SESSION_SERVICE
SessionService
root XML element.
public static final java.lang.String XML_ATTRIBUTE_USER_CONTEXT
SessionService
element attribute "userContextName"
that may optionally specify the name
of the user context.
public static final java.lang.String XML_ATTRIBUTE_TIMEOUT
Method Detail |
---|
public AbstractServiceComponentConfig createConfigFromDocument(org.w3c.dom.Document document) throws ServiceException
createConfigFromDocument
in interface DocumentServiceConfigAdapterInterface
document
- XML document that represents a service configuration.
configuration
.
ServiceException
- if unable to adapt the XML document to
a service configuration.public static final SessionServiceInitObject parse(org.w3c.dom.Document document) throws ServiceConfigurationException
document
- XML document that describes a Session Service configuration.
Object
The initialized object.
ServiceConfigurationException
- if unable to obtain a session service
initialization object.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |