Serialized Form (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


Serialized Form


软件包 javax.activation

Class javax.activation.ActivationDataFlavor extends DataFlavor implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput arg0)
                  throws IOException,
                         ClassNotFoundException
抛出异常:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput arg0)
                   throws IOException
抛出异常:
IOException

Class javax.activation.MimeType extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

抛出异常:
ClassNotFoundException - If the class for an object being restored cannot be found.
IOException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings and arrays.

抛出异常:
IOException - Includes any I/O exceptions that may occur

Class javax.activation.MimeTypeParseException extends Exception implements Serializable

Class javax.activation.UnsupportedDataTypeException extends IOException implements Serializable


软件包 javax.ejb

Class javax.ejb.AccessLocalException extends EJBException implements Serializable

Class javax.ejb.ConcurrentAccessException extends EJBException implements Serializable

Class javax.ejb.CreateException extends Exception implements Serializable

Class javax.ejb.DuplicateKeyException extends CreateException implements Serializable

Class javax.ejb.EJBAccessException extends EJBException implements Serializable

Class javax.ejb.EJBException extends RuntimeException implements Serializable

Serialized Fields

causeException

Exception causeException
 

Class javax.ejb.EJBTransactionRequiredException extends EJBException implements Serializable

Class javax.ejb.EJBTransactionRolledbackException extends EJBException implements Serializable

Class javax.ejb.FinderException extends Exception implements Serializable

Class javax.ejb.NoSuchEJBException extends EJBException implements Serializable

Class javax.ejb.NoSuchEntityException extends EJBException implements Serializable

Class javax.ejb.NoSuchObjectLocalException extends EJBException implements Serializable

Class javax.ejb.ObjectNotFoundException extends FinderException implements Serializable

Class javax.ejb.RemoveException extends Exception implements Serializable

Class javax.ejb.TransactionRequiredLocalException extends EJBException implements Serializable

Class javax.ejb.TransactionRolledbackLocalException extends EJBException implements Serializable


软件包 javax.el

Class javax.el.ELContextEvent extends EventObject implements Serializable

Class javax.el.ELException extends RuntimeException implements Serializable

Class javax.el.Expression extends Object implements Serializable

Class javax.el.MethodExpression extends Expression implements Serializable

Class javax.el.MethodNotFoundException extends ELException implements Serializable

Class javax.el.PropertyNotFoundException extends ELException implements Serializable

Class javax.el.PropertyNotWritableException extends ELException implements Serializable

Class javax.el.ValueExpression extends Expression implements Serializable


软件包 javax.enterprise.deploy.model.exceptions

Class javax.enterprise.deploy.model.exceptions.DDBeanCreateException extends Exception implements Serializable


软件包 javax.enterprise.deploy.spi.exceptions

Class javax.enterprise.deploy.spi.exceptions.BeanNotFoundException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.ClientExecuteException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.ConfigurationException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.InvalidModuleException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.OperationUnsupportedException extends Exception implements Serializable

Class javax.enterprise.deploy.spi.exceptions.TargetException extends Exception implements Serializable


软件包 javax.enterprise.deploy.spi.status

Class javax.enterprise.deploy.spi.status.ProgressEvent extends EventObject implements Serializable

Serialized Fields

statuscode

DeploymentStatus statuscode

targetModuleID

TargetModuleID targetModuleID

软件包 javax.faces

Class javax.faces.FacesException extends RuntimeException implements Serializable

Serialized Fields

cause

Throwable cause

The underlying exception that caused this exception.


软件包 javax.faces.application

Class javax.faces.application.FacesMessage extends Object implements Serializable

serialVersionUID: -1180773928220076822L

Serialized Fields

severity

FacesMessage.Severity severity

summary

String summary

detail

String detail

Class javax.faces.application.ViewExpiredException extends FacesException implements Serializable

Serialized Fields

viewId

String viewId

The view identifier of the view that could not be restored.


软件包 javax.faces.convert

Class javax.faces.convert.ConverterException extends FacesException implements Serializable

Serialized Fields

facesMessage

FacesMessage facesMessage

软件包 javax.faces.el

Class javax.faces.el.EvaluationException extends FacesException implements Serializable

Class javax.faces.el.MethodNotFoundException extends EvaluationException implements Serializable

Class javax.faces.el.PropertyNotFoundException extends EvaluationException implements Serializable

Class javax.faces.el.ReferenceSyntaxException extends EvaluationException implements Serializable


软件包 javax.faces.event

Class javax.faces.event.AbortProcessingException extends FacesException implements Serializable

Class javax.faces.event.ActionEvent extends FacesEvent implements Serializable

Class javax.faces.event.FacesEvent extends EventObject implements Serializable

Serialized Fields

phaseId

PhaseId phaseId

Class javax.faces.event.PhaseEvent extends EventObject implements Serializable

Serialized Fields

context

FacesContext context

phaseId

PhaseId phaseId

Class javax.faces.event.ValueChangeEvent extends FacesEvent implements Serializable

Serialized Fields

oldValue

Object oldValue

The previous local value of the source UIComponent.


newValue

Object newValue

The current local value of the source UIComponent.


软件包 javax.faces.model

Class javax.faces.model.DataModelEvent extends EventObject implements Serializable

Serialized Fields

data

Object data

index

int index

Class javax.faces.model.SelectItem extends Object implements Serializable

serialVersionUID: 876782311414654999L

Serialized Fields

description

String description

disabled

boolean disabled

label

String label

value

Object value

escape

boolean escape
Holds value of property escape.

Class javax.faces.model.SelectItemGroup extends SelectItem implements Serializable

Serialized Fields

selectItems

SelectItem[] selectItems

软件包 javax.faces.validator

Class javax.faces.validator.ValidatorException extends FacesException implements Serializable

Serialized Fields

message

FacesMessage message

软件包 javax.faces.webapp

Class javax.faces.webapp.AttributeTag extends TagSupport implements Serializable

serialVersionUID: -7782950243436672334L

Serialized Fields

name

String name
Deprecated. 

The name of the attribute to be created, if not already present.


value

String value
Deprecated. 

The value to be associated with this attribute, if it is created.

Class javax.faces.webapp.ConverterELTag extends TagSupport implements Serializable

Class javax.faces.webapp.ConverterTag extends TagSupport implements Serializable

serialVersionUID: -5909792518081427720L

Serialized Fields

converterId

String converterId
Deprecated. 

The identifier of the Converter instance to be created.


binding

String binding
Deprecated. 

The ValueExpression that evaluates to an object that implements Converter.

Class javax.faces.webapp.FacetTag extends TagSupport implements Serializable

Serialized Fields

name

String name

The name of this facet. This will be used as the facet name for our UIComponentTag child in our UIComponentTag parent's facet list.

Class javax.faces.webapp.ValidatorELTag extends TagSupport implements Serializable

Class javax.faces.webapp.ValidatorTag extends TagSupport implements Serializable

serialVersionUID: -5562623615418158868L

Serialized Fields

validatorId

String validatorId
Deprecated. 

The identifier of the Validator instance to be created.


binding

String binding
Deprecated. 

The ValueExpression that evaluates to an object that implements Validator.


软件包 javax.jms

Class javax.jms.IllegalStateException extends JMSException implements Serializable

Class javax.jms.InvalidClientIDException extends JMSException implements Serializable

Class javax.jms.InvalidDestinationException extends JMSException implements Serializable

Class javax.jms.InvalidSelectorException extends JMSException implements Serializable

Class javax.jms.JMSException extends Exception implements Serializable

Serialized Fields

errorCode

String errorCode
Vendor-specific error code.


linkedException

Exception linkedException
Exception reference.

Class javax.jms.JMSSecurityException extends JMSException implements Serializable

Class javax.jms.MessageEOFException extends JMSException implements Serializable

Class javax.jms.MessageFormatException extends JMSException implements Serializable

Class javax.jms.MessageNotReadableException extends JMSException implements Serializable

Class javax.jms.MessageNotWriteableException extends JMSException implements Serializable

Class javax.jms.ResourceAllocationException extends JMSException implements Serializable

Class javax.jms.TransactionInProgressException extends JMSException implements Serializable

Class javax.jms.TransactionRolledBackException extends JMSException implements Serializable


软件包 javax.mail

Class javax.mail.Address extends Object implements Serializable

serialVersionUID: -5822459626751992278L

Class javax.mail.AuthenticationFailedException extends MessagingException implements Serializable

serialVersionUID: 492080754054436511L

Class javax.mail.Flags extends Object implements Serializable

serialVersionUID: 6243590407214169028L

Serialized Fields

system_flags

int system_flags

user_flags

Hashtable<K,V> user_flags

Class javax.mail.FolderClosedException extends MessagingException implements Serializable

serialVersionUID: 1687879213433302315L

Class javax.mail.FolderNotFoundException extends MessagingException implements Serializable

serialVersionUID: 472612108891249403L

Class javax.mail.IllegalWriteException extends MessagingException implements Serializable

serialVersionUID: 3974370223328268013L

Class javax.mail.Message.RecipientType extends Object implements Serializable

serialVersionUID: -7479791750606340008L

Serialization Methods

readResolve

protected Object readResolve()
                      throws ObjectStreamException
When deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class. Subclasses must implement their own readResolve method that checks for their known instances before calling this super method.

抛出异常:
ObjectStreamException
Serialized Fields

type

String type
The type of recipient, usually the name of a corresponding Internet standard header.

 

Class javax.mail.MessageRemovedException extends MessagingException implements Serializable

serialVersionUID: 1951292550679528690L

Class javax.mail.MessagingException extends Exception implements Serializable

serialVersionUID: -7569192289819959253L

Serialized Fields

next

Exception next
The next exception in the chain.

 

Class javax.mail.MethodNotSupportedException extends MessagingException implements Serializable

serialVersionUID: -3757386618726131322L

Class javax.mail.NoSuchProviderException extends MessagingException implements Serializable

serialVersionUID: 8058319293154708827L

Class javax.mail.ReadOnlyFolderException extends MessagingException implements Serializable

serialVersionUID: 5711829372799039325L

Class javax.mail.SendFailedException extends MessagingException implements Serializable

serialVersionUID: -6457531621682372913L

Class javax.mail.StoreClosedException extends MessagingException implements Serializable

serialVersionUID: -3145392336120082655L


软件包 javax.mail.event

Class javax.mail.event.ConnectionEvent extends MailEvent implements Serializable

serialVersionUID: -1855480171284792957L

Serialized Fields

type

int type
The event type.

 

Class javax.mail.event.FolderEvent extends MailEvent implements Serializable

serialVersionUID: 5278131310563694307L

Serialized Fields

type

int type
The event type.

 

Class javax.mail.event.MailEvent extends EventObject implements Serializable

serialVersionUID: 1846275636325456631L

Class javax.mail.event.MessageChangedEvent extends MailEvent implements Serializable

serialVersionUID: -4974972972105535108L

Serialized Fields

type

int type
The event type.

 

Class javax.mail.event.MessageCountEvent extends MailEvent implements Serializable

serialVersionUID: -7447022340837897369L

Serialized Fields

type

int type
The event type.

 

removed

boolean removed
If true, this event is the result of an explicit expunge by this client, and the messages in this folder have been renumbered to account for this. If false, this event is the result of an expunge by external sources.

 

Class javax.mail.event.StoreEvent extends MailEvent implements Serializable

serialVersionUID: 1938704919992515330L

Serialized Fields

type

int type
The event type.

 

message

String message
The message text to be presented to the user.

 

Class javax.mail.event.TransportEvent extends MailEvent implements Serializable

serialVersionUID: -4729852364684273073L

Serialized Fields

type

int type
The event type.

 

软件包 javax.mail.internet

Class javax.mail.internet.AddressException extends ParseException implements Serializable

serialVersionUID: 9134583443539323120L

Serialized Fields

ref

String ref
The string being parsed.

 

pos

int pos
The index in the string where the error occurred, or -1 if not known.

 

Class javax.mail.internet.InternetAddress extends Address implements Serializable

serialVersionUID: -7507595530758302903L

Serialized Fields

address

String address

personal

String personal
The personal name.


encodedPersonal

String encodedPersonal
The RFC 2047 encoded version of the personal name.

This field and the personal field track each other, so if a subclass sets one of these fields directly, it should set the other to null, so that it is suitably recomputed.

Class javax.mail.internet.MailDateFormat extends SimpleDateFormat implements Serializable

serialVersionUID: -8148227605210628779L

Class javax.mail.internet.MimeMessage.RecipientType extends Message.RecipientType implements Serializable

serialVersionUID: -5468290701714395543L

Serialization Methods

readResolve

protected Object readResolve()
                      throws ObjectStreamException
抛出异常:
ObjectStreamException

Class javax.mail.internet.NewsAddress extends Address implements Serializable

serialVersionUID: -4203797299824684143L

Serialized Fields

newsgroup

String newsgroup

host

String host

Class javax.mail.internet.ParseException extends MessagingException implements Serializable

serialVersionUID: 7649991205183658089L


软件包 javax.mail.search

Class javax.mail.search.AddressStringTerm extends StringTerm implements Serializable

serialVersionUID: 3086821234204980368L

Class javax.mail.search.AddressTerm extends SearchTerm implements Serializable

serialVersionUID: 2005405551929769980L

Serialized Fields

address

Address address
The address.

 

Class javax.mail.search.AndTerm extends SearchTerm implements Serializable

serialVersionUID: -3583274505380989582L

Serialized Fields

terms

SearchTerm[] terms
The array of terms on which the AND operator should be applied.

 

Class javax.mail.search.BodyTerm extends StringTerm implements Serializable

serialVersionUID: -4888862527916911385L

Class javax.mail.search.ComparisonTerm extends SearchTerm implements Serializable

serialVersionUID: 1456646953666474308L

Serialized Fields

comparison

int comparison
The comparison.

 

Class javax.mail.search.DateTerm extends ComparisonTerm implements Serializable

serialVersionUID: 4818873430063720043L

Serialized Fields

date

Date date
The date.

 

Class javax.mail.search.FlagTerm extends SearchTerm implements Serializable

serialVersionUID: -142991500302030647L

Serialized Fields

set

boolean set
Indicates whether to test for the presence or absence of the specified Flag. If true, then test whether all the specified flags are present, else test whether all the specified flags are absent.

 

flags

Flags flags
Flags object containing the flags to test.

 

Class javax.mail.search.FromStringTerm extends AddressStringTerm implements Serializable

serialVersionUID: 5801127523826772788L

Class javax.mail.search.FromTerm extends AddressTerm implements Serializable

serialVersionUID: 5214730291502658665L

Class javax.mail.search.HeaderTerm extends StringTerm implements Serializable

serialVersionUID: 8342514650333389122L

Serialized Fields

headerName

String headerName
The name of the header.

 

Class javax.mail.search.IntegerComparisonTerm extends ComparisonTerm implements Serializable

serialVersionUID: -6963571240154302484L

Serialized Fields

number

int number
The number.

 

Class javax.mail.search.MessageIDTerm extends StringTerm implements Serializable

serialVersionUID: -2121096296454691963L

Class javax.mail.search.MessageNumberTerm extends IntegerComparisonTerm implements Serializable

serialVersionUID: -5379625829658623812L

Class javax.mail.search.NotTerm extends SearchTerm implements Serializable

serialVersionUID: 7152293214217310216L

Serialized Fields

term

SearchTerm term
The search term to negate.

 

Class javax.mail.search.OrTerm extends SearchTerm implements Serializable

serialVersionUID: 5380534067523646936L

Serialized Fields

terms

SearchTerm[] terms
The array of terms on which the OR operator should be applied.

 

Class javax.mail.search.ReceivedDateTerm extends DateTerm implements Serializable

serialVersionUID: -2756695246195503170L

Class javax.mail.search.RecipientStringTerm extends AddressStringTerm implements Serializable

serialVersionUID: -8293562089611618849L

Serialized Fields

type

Message.RecipientType type
The recipient type.

 

Class javax.mail.search.RecipientTerm extends AddressTerm implements Serializable

serialVersionUID: 6548700653122680468L

Serialized Fields

type

Message.RecipientType type
The recipient type.

 

Class javax.mail.search.SearchException extends MessagingException implements Serializable

serialVersionUID: -7092886778226268686L

Class javax.mail.search.SearchTerm extends Object implements Serializable

serialVersionUID: -6652358452205992789L

Class javax.mail.search.SentDateTerm extends DateTerm implements Serializable

serialVersionUID: 5647755030530907263L

Class javax.mail.search.SizeTerm extends IntegerComparisonTerm implements Serializable

serialVersionUID: -2556219451005103709L

Class javax.mail.search.StringTerm extends SearchTerm implements Serializable

serialVersionUID: 1274042129007696269L

Serialized Fields

pattern

String pattern
The pattern.

 

ignoreCase

boolean ignoreCase
Ignore case when comparing?

 

Class javax.mail.search.SubjectTerm extends StringTerm implements Serializable

serialVersionUID: 7481568618055573432L


软件包 javax.management.j2ee

软件包 javax.persistence

Class javax.persistence.EntityExistsException extends PersistenceException implements Serializable

Class javax.persistence.EntityNotFoundException extends PersistenceException implements Serializable

Class javax.persistence.NonUniqueResultException extends PersistenceException implements Serializable

Class javax.persistence.NoResultException extends PersistenceException implements Serializable

Class javax.persistence.OptimisticLockException extends PersistenceException implements Serializable

Serialized Fields

entity

Object entity
The object that caused the exception

Class javax.persistence.PersistenceException extends RuntimeException implements Serializable

Class javax.persistence.RollbackException extends PersistenceException implements Serializable

Class javax.persistence.TransactionRequiredException extends PersistenceException implements Serializable


软件包 javax.resource

Class javax.resource.NotSupportedException extends ResourceException implements Serializable

Class javax.resource.ResourceException extends Exception implements Serializable

Serialized Fields

errorCode

String errorCode
Vendor specific error code


linkedException

Exception linkedException
reference to another exception


软件包 javax.resource.cci

Class javax.resource.cci.ResourceWarning extends ResourceException implements Serializable


软件包 javax.resource.spi

Class javax.resource.spi.ApplicationServerInternalException extends ResourceException implements Serializable

Class javax.resource.spi.CommException extends ResourceException implements Serializable

Class javax.resource.spi.ConnectionEvent extends EventObject implements Serializable

Serialized Fields

exception

Exception exception
Exception associated with the ConnectionEvent instance.

 

id

int id
Type of the event


connectionHandle

Object connectionHandle

Class javax.resource.spi.EISSystemException extends ResourceException implements Serializable

Class javax.resource.spi.IllegalStateException extends ResourceException implements Serializable

Class javax.resource.spi.InvalidPropertyException extends ResourceException implements Serializable

Serialized Fields

invalidProperties

PropertyDescriptor[] invalidProperties

Class javax.resource.spi.LocalTransactionException extends ResourceException implements Serializable

Class javax.resource.spi.ResourceAdapterInternalException extends ResourceException implements Serializable

Class javax.resource.spi.ResourceAllocationException extends ResourceException implements Serializable

Class javax.resource.spi.SecurityException extends ResourceException implements Serializable

Class javax.resource.spi.SharingViolationException extends ResourceException implements Serializable

Class javax.resource.spi.UnavailableException extends ResourceException implements Serializable


软件包 javax.resource.spi.security

Class javax.resource.spi.security.PasswordCredential extends Object implements Serializable

Serialized Fields

userName

String userName

password

char[] password

mcf

ManagedConnectionFactory mcf

软件包 javax.resource.spi.work

Class javax.resource.spi.work.WorkCompletedException extends WorkException implements Serializable

Class javax.resource.spi.work.WorkEvent extends EventObject implements Serializable

Serialized Fields

type

int type
The event type.


work

Work work
The Work object on which the event occured.


exc

WorkException exc
The exception that occured during Work processing.


startDuration

long startDuration
The start delay duration (in milliseconds).

Class javax.resource.spi.work.WorkException extends ResourceException implements Serializable

Class javax.resource.spi.work.WorkRejectedException extends WorkException implements Serializable


软件包 javax.security.jacc

Class javax.security.jacc.EJBMethodPermission extends Permission implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.

抛出异常:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.

抛出异常:
IOException
Serialization 概述
The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.

Serialized Fields

actions

String actions
the canonicalized actions string (as returned by getActions).

Class javax.security.jacc.EJBRoleRefPermission extends Permission implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.

抛出异常:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.

抛出异常:
IOException
Serialization 概述
The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.

Serialized Fields

actions

String actions
the canonicalized actions string (as returned by getActions).

Class javax.security.jacc.PolicyContextException extends Exception implements Serializable

Class javax.security.jacc.WebResourcePermission extends Permission implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.

抛出异常:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.

抛出异常:
IOException
Serialization 概述
The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.

Serialized Fields

actions

String actions
the canonicalized actions string (as returned by getActions).

Class javax.security.jacc.WebRoleRefPermission extends Permission implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.

抛出异常:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.

抛出异常:
IOException
Serialization 概述
The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.

Serialized Fields

actions

String actions
the canonicalized actions string (as returned by getActions).

Class javax.security.jacc.WebUserDataPermission extends Permission implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.

抛出异常:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.

抛出异常:
IOException
Serialization 概述
The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.

Serialized Fields

actions

String actions
the canonicalized actions string (as returned by getActions).

软件包 javax.servlet

Class javax.servlet.GenericServlet extends Object implements Serializable

Class javax.servlet.ServletContextAttributeEvent extends ServletContextEvent implements Serializable

Serialized Fields

name

String name

value

Object value

Class javax.servlet.ServletContextEvent extends EventObject implements Serializable

Class javax.servlet.ServletException extends Exception implements Serializable

Serialized Fields

rootCause

Throwable rootCause

Class javax.servlet.ServletRequestAttributeEvent extends ServletRequestEvent implements Serializable

Serialized Fields

name

String name

value

Object value

Class javax.servlet.ServletRequestEvent extends EventObject implements Serializable

Serialized Fields

request

ServletRequest request

Class javax.servlet.UnavailableException extends ServletException implements Serializable

Serialized Fields

servlet

Servlet servlet

permanent

boolean permanent

seconds

int seconds

软件包 javax.servlet.http

Class javax.servlet.http.HttpServlet extends GenericServlet implements Serializable

Class javax.servlet.http.HttpSessionBindingEvent extends HttpSessionEvent implements Serializable

Serialized Fields

name

String name

value

Object value

Class javax.servlet.http.HttpSessionEvent extends EventObject implements Serializable


软件包 javax.servlet.jsp

Class javax.servlet.jsp.JspException extends Exception implements Serializable

Class javax.servlet.jsp.JspTagException extends JspException implements Serializable

Class javax.servlet.jsp.SkipPageException extends JspException implements Serializable


软件包 javax.servlet.jsp.el

Class javax.servlet.jsp.el.ELException extends Exception implements Serializable

Serialized Fields

mRootCause

Throwable mRootCause
Deprecated. 

Class javax.servlet.jsp.el.ELParseException extends ELException implements Serializable


软件包 javax.servlet.jsp.tagext

Class javax.servlet.jsp.tagext.BodyTagSupport extends TagSupport implements Serializable

Serialized Fields

bodyContent

BodyContent bodyContent
The current BodyContent for this BodyTag.

Class javax.servlet.jsp.tagext.TagSupport extends Object implements Serializable

Serialized Fields

parent

Tag parent

values

Hashtable<K,V> values

id

String id
The value of the id attribute of this tag; or null.


pageContext

PageContext pageContext
The PageContext.


软件包 javax.transaction

Class javax.transaction.HeuristicCommitException extends Exception implements Serializable

Class javax.transaction.HeuristicMixedException extends Exception implements Serializable

Class javax.transaction.HeuristicRollbackException extends Exception implements Serializable

Class javax.transaction.InvalidTransactionException extends RemoteException implements Serializable

Class javax.transaction.NotSupportedException extends Exception implements Serializable

Class javax.transaction.RollbackException extends Exception implements Serializable

Class javax.transaction.SystemException extends Exception implements Serializable

Serialized Fields

errorCode

int errorCode
The error code with which to create the SystemException.

The error code for the exception

Class javax.transaction.TransactionRequiredException extends RemoteException implements Serializable

Class javax.transaction.TransactionRolledbackException extends RemoteException implements Serializable


软件包 javax.transaction.xa

Class javax.transaction.xa.XAException extends Exception implements Serializable

Serialized Fields

errorCode

int errorCode
The error code with which to create the SystemException.

The error code for the exception.

软件包 javax.xml.bind

Class javax.xml.bind.DataBindingException extends RuntimeException implements Serializable

Class javax.xml.bind.JAXBElement extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

QName name
xml element tag name


declaredType

Class<T> declaredType
Java datatype binding for xml element declaration's type.


scope

Class<T> scope
Scope of xml element declaration representing this xml element instance. Can be one of the following values: - JAXBElement.GlobalScope for global xml element declaration. - local element declaration has a scope set to the Java class representation of complex type defintion containing xml element declaration.


value

Object value
xml element value. Represents content model and attributes of an xml element instance.


nil

boolean nil
true iff the xml element instance has xsi:nil="true".

Class javax.xml.bind.JAXBException extends Exception implements Serializable

serialVersionUID: -5621384651494307979L

Serialized Fields

errorCode

String errorCode
Vendor specific error code


linkedException

Throwable linkedException
Exception reference

Class javax.xml.bind.MarshalException extends JAXBException implements Serializable

Class javax.xml.bind.PropertyException extends JAXBException implements Serializable

Class javax.xml.bind.TypeConstraintException extends RuntimeException implements Serializable

Serialized Fields

errorCode

String errorCode
Vendor specific error code


linkedException

Throwable linkedException
Exception reference

Class javax.xml.bind.UnmarshalException extends JAXBException implements Serializable

Class javax.xml.bind.ValidationException extends JAXBException implements Serializable


软件包 javax.xml.registry

Class javax.xml.registry.DeleteException extends RegistryException implements Serializable

Class javax.xml.registry.FindException extends RegistryException implements Serializable

Class javax.xml.registry.InvalidRequestException extends JAXRException implements Serializable

Class javax.xml.registry.JAXRException extends Exception implements Serializable

Serialized Fields

cause

Throwable cause

Class javax.xml.registry.RegistryException extends JAXRException implements Serializable

Serialized Fields

errorObjectKey

Key errorObjectKey

Class javax.xml.registry.SaveException extends RegistryException implements Serializable

Class javax.xml.registry.UnexpectedObjectException extends JAXRException implements Serializable

Class javax.xml.registry.UnsupportedCapabilityException extends JAXRException implements Serializable


软件包 javax.xml.rpc

Class javax.xml.rpc.JAXRPCException extends RuntimeException implements Serializable

Serialized Fields

cause

Throwable cause

Class javax.xml.rpc.ServiceException extends Exception implements Serializable

Serialized Fields

cause

Throwable cause

软件包 javax.xml.rpc.encoding

软件包 javax.xml.rpc.handler

Class javax.xml.rpc.handler.HandlerInfo extends Object implements Serializable

Serialized Fields

handlerClass

Class<T> handlerClass

config

Map<K,V> config

headers

Vector<E> headers

软件包 javax.xml.rpc.soap

Class javax.xml.rpc.soap.SOAPFaultException extends RuntimeException implements Serializable

Serialized Fields

faultcode

QName faultcode

faultstring

String faultstring

faultactor

String faultactor

detail

Detail detail

软件包 javax.xml.soap

Class javax.xml.soap.SOAPException extends Exception implements Serializable

Serialized Fields

cause

Throwable cause

软件包 javax.xml.stream

Class javax.xml.stream.FactoryConfigurationError extends Error implements Serializable

Serialized Fields

nested

Exception nested

Class javax.xml.stream.XMLStreamException extends Exception implements Serializable

Serialized Fields

nested

Throwable nested

location

Location location

软件包 javax.xml.ws

Class javax.xml.ws.ProtocolException extends WebServiceException implements Serializable

Class javax.xml.ws.WebServiceException extends RuntimeException implements Serializable

Class javax.xml.ws.WebServicePermission extends BasicPermission implements Serializable

serialVersionUID: -146474640053770988L


软件包 javax.xml.ws.http

Class javax.xml.ws.http.HTTPException extends ProtocolException implements Serializable

Serialized Fields

statusCode

int statusCode

软件包 javax.xml.ws.soap

Class javax.xml.ws.soap.SOAPFaultException extends ProtocolException implements Serializable

Serialized Fields

fault

SOAPFault fault


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.