@jws:context Tag
Specifies that the object annotated by this tag is a JwsContext object. Causes WebLogic Server to connect the associated JwsContext object to its underlying infrastructure.
@jws:context
none
The following rules apply to this tag's use:
Only one @jws:context tag may appear within a single Javadoc comment block.
Must appear on the JwsContext instance declaration in a JWS file A JWS file holds a WebLogic Workshop Java Web Service. JWS files contain syntactically correct Java code. However, they may also contain special annotation that allows the web services to take advantage of powerful features of the WebLogic Workshop runtime and the WebLogic Server. All JWS files contain a class derived from a special base class called Service that makes certain helper resources available to the class at runtime. The goal of all the helper code is to make it really easy to put a Java- and-J2EE-based service on the net with standard protocols., if present.
If the @jws:context tag is not present on a JwsContext instance declaration, the JwsContext object will not be connected to its underlying infrastructure. Attempts to invoke methods of th JwsContext object will result in Null Pointer Exceptions (NPEs).
Note: All @jws tags are Javadoc tags. Javadoc tags are not recognized unless they are in a Javadoc comment, which must begin with /** (two asterisks).