Serialized Form


Package org.jfox.ejb

Class org.jfox.ejb.ContainerImpl extends ComponentSupport implements Serializable

Serialized Fields

ctx

javax.naming.Context ctx

buckets

java.util.Map buckets

bucketFactory

BucketFactory bucketFactory

interceptors

java.util.List interceptors

Class org.jfox.ejb.ContainerInvokerSupport extends ServiceSupport implements Serializable

Class org.jfox.ejb.DelegateInvocationHandler extends java.lang.Object implements Serializable

Serialized Fields

objectId

ObjectId objectId

protocolInvocationHandler

ClientInvocationHandler protocolInvocationHandler

Class org.jfox.ejb.EJBMetaDataImpl extends java.lang.Object implements Serializable

Serialized Fields

EJBHome

javax.ejb.EJBHome EJBHome

HomeInterfaceClass

java.lang.Class HomeInterfaceClass

RemoteInterfaceClass

java.lang.Class RemoteInterfaceClass

PrimaryKeyClass

java.lang.Class PrimaryKeyClass

isSession

boolean isSession

isStatelessSession

boolean isStatelessSession

Class org.jfox.ejb.HandleImpl extends java.lang.Object implements Serializable

Serialized Fields

invocationHandler

InvocationHandlerSupport invocationHandler

Class org.jfox.ejb.HomeHandleImpl extends java.lang.Object implements Serializable

Serialized Fields

homeClass

java.lang.String homeClass

Class org.jfox.ejb.InvocationHandlerSupport extends java.lang.Object implements Serializable

Serialization Methods

readObject

protected void readObject(java.io.ObjectInputStream in)
                   throws java.io.IOException,
                          java.lang.ClassNotFoundException
Serialized Fields

objectId

ObjectId objectId

invoker

ContainerInvoker invoker

Class org.jfox.ejb.InvocationImpl extends java.lang.Object implements Serializable

Serialized Fields

objectId

ObjectId objectId

methodHash

java.lang.String methodHash

args

java.lang.Object[] args

Class org.jfox.ejb.ObjectId extends java.lang.Object implements Serializable

Serialized Fields

ipAddress

java.lang.String ipAddress

remoteInterf

java.lang.String remoteInterf

homeInterf

java.lang.String homeInterf

hash

int hash

isHome

boolean isHome

Class org.jfox.ejb.StatefulSessionBeanObjectPool extends ComponentSupport implements Serializable

Serialized Fields

pool

ObjectPoolSupport pool

factory

ObjectFactory factory

caches

java.util.Map caches

bucket

StatefulSessionBucket bucket

timeouts

java.util.Map timeouts

Class org.jfox.ejb.StatelessSessionBeanObjectPool extends ComponentSupport implements Serializable

Serialized Fields

pool

ObjectPoolSupport pool

factory

ObjectFactory factory

caches

java.util.List caches

bucket

StatelessSessionBucket bucket

MAX

int MAX


Package org.jfox.ejb.deploy

Class org.jfox.ejb.deploy.DeployerSupport extends ComponentSupport implements Serializable

Serialized Fields

deployments

java.util.Map deployments
纪录已经被 deploy 的 url

Class org.jfox.ejb.deploy.EJBDeployer extends DeployerSupport implements Serializable

Serialized Fields

container

Container container


Package org.jfox.ejb.invoker.jrmp

Class org.jfox.ejb.invoker.jrmp.JRMPContainerInvoker extends ContainerInvokerSupport implements Serializable

Serialized Fields

stub

java.rmi.Remote stub

protocol

java.lang.String protocol

Class org.jfox.ejb.invoker.jrmp.JRMPInvocationHandler extends InvocationHandlerSupport implements Serializable


Package org.jfox.ejb.invoker.local

Class org.jfox.ejb.invoker.local.LOCALContainerInvoker extends ContainerInvokerSupport implements Serializable

Class org.jfox.ejb.invoker.local.LOCALInvocationHandler extends InvocationHandlerSupport implements Serializable


Package org.jfox.ejb.meta

Class org.jfox.ejb.meta.AbstractMetaInfo extends java.lang.Object implements Serializable

Serialized Fields

description

java.lang.String description

ejbName

java.lang.String ejbName

home

java.lang.String home

remote

java.lang.String remote

ejbClass

java.lang.String ejbClass

jndiName

java.lang.String jndiName

isSession

boolean isSession

Class org.jfox.ejb.meta.SessionMetaInfoImpl extends AbstractMetaInfo implements Serializable

Serialized Fields

transactionInfo

TransactionInfo transactionInfo

isStatelessSession

boolean isStatelessSession

Class org.jfox.ejb.meta.TransactionInfo extends java.lang.Object implements Serializable


Package org.huihoo.jfox.jms

Class org.huihoo.jfox.jms.AbstractMessage extends java.lang.Object implements Serializable

Serialized Fields

type

java.lang.String type
The JMSType header field contains a message type identifier supplied by a client when a message is sent. Some JMS providers use a message repository that contains the definitions of messages sent by applications. The type header field may reference a message?s definition in the provider?s repository.


messageId

java.lang.String messageId
If the JMS provider accepts this hint, these messages must have the message ID set to null; if the provider ignores the hint, the message ID must be set to its normal unique value. All message ID values must start with the ?ID:? prefix.


timeStamp

long timeStamp
The JMSTimestamp header field contains the time a message was handed off to a provider to be sent. It is not the time the message was actually transmitted because the actual send may occur later due to transactions or other client side queueing of messages. When a message is sent, JMSTimestamp is ignored. When the send method returns, the field contains a a time value somewhere in the interval between the call and the return.


correlationId

java.lang.String correlationId
A client can use the JMSCorrelationID header field to link one message with another. A typical use is to link a response message with its request message. JMSCorrelationID can hold one of the following: ? A provider-specific message ID ? An application-specific String (Application-specified values must not start with the ?ID:? prefix;) ? A provider-native byte[] value


replyTo

javax.jms.Destination replyTo
The JMSReplyTo header field contains a Destination supplied by a client when a message is sent. It is the destination where a reply to the message should be sent.


destination

javax.jms.Destination destination
The JMSDestination header field contains the destination to which the message is being sent. When a message is sent, this field is ignored. After completion of the send, it holds the destination object specified by the sending method. When a message is received, its destination value must be equivalent to the value assigned when it was sent.


deliveryMode

int deliveryMode
The JMSDeliveryMode header field contains the delivery mode specified when the message was sent. JMS supports two modes of message delivery.NON_PERSISTENT & PERSISTENT


redelivered

boolean redelivered
If a client receives a message with the JMSRedelivered indicator set, it is likely, but not guaranteed, that this message was delivered but not acknowledged in the past. In general, a provider must set the JMSRedelivered message header


expiration

long expiration
When a message is sent, its expiration time is calculated as the sum of the timeto- live value specified on the send method and the current GMT value. On return from the send method, the message?s JMSExpiration header field contains this value. When a message is received its JMSExpiration header field contains this same value. If the time-to-live is specified as zero, expiration is set to zero to indicate that the message does not expire. expiration = currentTime + timeToLive


priority

int priority
JMS defines a ten-level priority value, with 0 as the lowest priority and 9 as the highest. In addition, clients should consider priorities 0-4 as gradations of normal priority and priorities 5-9 as gradations of expedited priority.


readonly

boolean readonly
When a client receives a message, its properties are in read-only mode. When a message is received, its header field values can be changed; however, its property entries and its body are read-only. A consumer can modify a received message after calling either the clearBody or clearProperties method to make the body or properties writable. If the consumer modifies a received message, and the message is subsequently redelivered, the redelivered message must be the original, unmodified message (except for headers and properties modified by the JMS provider as a result of the redelivery, such as the JMSRedelivered header and the JMSXDeliveryCount property).


properties

java.util.Map properties
In addition to the header fields defined here, the Message interface contains a built-in facility for supporting property values. In effect, this provides a mechanism for adding optional header fields to a message. Properties allow a client, via message selectors (see Section 3.8, ?Message Selection?), to have a JMS provider select messages on its behalf using application-specific criteria. Property values can be boolean, byte, short, int, long, float, double, and String. JMS reserves the ?JMSX? property name prefix for JMS defined properties. The JMSX property names is case sensive JMS reserves the ?JMS_? property name prefix for providerspecific properties. Each provider defines their own value of .


session

AbstractSession session

Class org.huihoo.jfox.jms.TextMessageImpl extends AbstractMessage implements Serializable

Serialized Fields

body

java.lang.String body

bodyReadonly

boolean bodyReadonly


Package org.huihoo.jfox.jndi

Class org.huihoo.jfox.jndi.ContextImpl extends java.lang.Object implements Serializable

Serialized Fields

env

java.util.Hashtable env
environment of this Context


prefix

javax.naming.Name prefix
该 context 名字空间,如:/ , /test


parser

NameParserImpl parser

server

NamingService server


Package org.huihoo.jfox.datasource

Class org.huihoo.jfox.datasource.PoolDataSource extends ComponentSupport implements Serializable

Serialized Fields

pool

SimpleConnectionPool pool

dbDriver

java.lang.String dbDriver

dbURL

java.lang.String dbURL

user

java.lang.String user

password

java.lang.String password


Package org.huihoo.jfox.pool

Class org.huihoo.jfox.pool.IndexedObjectPoolSupport extends ComponentSupport implements Serializable

Serialized Fields

pool

ObjectPoolSupport pool
这个池用来实际的生成和缓存池对象


factory

ObjectFactory factory

Class org.huihoo.jfox.pool.ObjectPoolSupport extends ComponentSupport implements Serializable

Serialized Fields

factory

ObjectFactory factory

Class org.huihoo.jfox.pool.SimpleIndexedObjectPool extends IndexedObjectPoolSupport implements Serializable

Serialized Fields

indexedObjects

java.util.Map indexedObjects

Class org.huihoo.jfox.pool.SimpleObjectPool extends ObjectPoolSupport implements Serializable

Serialized Fields

numWorking

int numWorking

pool

java.util.List pool

maxRest

int maxRest
the number of "sleeping" instances in the pool.


initNum

int initNum


Package org.huihoo.jfox.pool.connection

Class org.huihoo.jfox.pool.connection.SimpleConnectionPool extends ComponentSupport implements Serializable

Serialized Fields

pool

ObjectPoolSupport pool

factory

ConnectionFactory factory


Package org.huihoo.jfox.pool.thread

Class org.huihoo.jfox.pool.thread.SimpleThreadPool extends ComponentSupport implements Serializable

Serialized Fields

pool

ObjectPoolSupport pool
the objectPool to cache the PoolableThreadImpl object


Package org.huihoo.jfox.system

Class org.huihoo.jfox.system.ComponentSupport extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
system name of the system


state

State state
the status value of the system


logger

Logger logger

sequence

long sequence

proxyInstance

java.lang.Object proxyInstance

Class org.huihoo.jfox.system.ServiceSupport extends ComponentSupport implements Serializable

Class org.huihoo.jfox.system.ServiceWrapper extends ServiceSupport implements Serializable

Serialized Fields

port

int port

remoteObject

java.rmi.Remote remoteObject

ssocket

java.net.ServerSocket ssocket

stub

java.rmi.Remote stub


Package org.jfox.mx

Class org.jfox.mx.MalformedObjectNameException extends java.lang.Exception implements Serializable

serialVersionUID: -572689714442915824l

Class org.jfox.mx.MxConstructorInfo extends MxFeatureInfo implements Serializable

serialVersionUID: 4433990064191844427l

Serialized Fields

signature

MxParameterInfo[] signature
The signature of the method, that is, the class names of the arguments.

Class org.jfox.mx.MxException extends java.lang.Exception implements Serializable

Class org.jfox.mx.MxFeatureInfo extends java.lang.Object implements Serializable

serialVersionUID: 3952882688968447265l

Serialized Fields

name

java.lang.String name
The name of the feature. It is recommended that subclasses call MxFeatureInfo.getName() rather than reading this field, and that they not change it.

The name of the feature.

description

java.lang.String description
The human-readable description of the feature. It is recommended that subclasses call MxFeatureInfo.getDescription() rather than reading this field, and that they not change it.

The human-readable description of the feature.

Class org.jfox.mx.MxInfo extends java.lang.Object implements Serializable

serialVersionUID: -6451021435135161911l

Serialized Fields

description

java.lang.String description
The human readable description of the class.

className

java.lang.String className
The MBean qualified name.

operations

MxOperationInfo[] operations
The MBean operation descriptors.

constructors

MxConstructorInfo[] constructors
The MBean constructor descriptors.

Class org.jfox.mx.MxOperationInfo extends MxFeatureInfo implements Serializable

serialVersionUID: -6178860474881375330l

Serialized Fields

isInfo

boolean isInfo
Indicates that the operation is read-like, it basically returns information.


type

java.lang.String type
The method's return value.

signature

MxParameterInfo[] signature
The signature of the method, that is, the class names of the arguments.

Class org.jfox.mx.MxParameterInfo extends MxFeatureInfo implements Serializable

Serialized Fields

type

java.lang.String type
The type or class name of the data.

Class org.jfox.mx.MxRuntimeException extends java.lang.RuntimeException implements Serializable

Class org.jfox.mx.Notification extends java.util.EventObject implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Serialized Fields

type

java.lang.String type
The notification type. A string expressed in a dot notation similar to Java properties. An example of a notification type is network.alarm.router


sequenceNumber

long sequenceNumber
The notification sequence number. A serial number which identify particular instance of notification in the context of the notification source.


timeStamp

long timeStamp
The notification timestamp. Indicating when the notification was generated


userData

java.lang.Object userData
The notification user data. Used for whatever other data the notification source wishes to communicate to its consumers


message

java.lang.String message
The notification message.


sourceObjectName

ObjectName sourceObjectName
The ObjectName source


source

java.lang.Object source
The object on which the notification initially occurred.

Class org.jfox.mx.ObjectName extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deserializes an ObjectName from an ObjectInputStream.

Serial Data:
  • In the current serial form (value of property jmx.serial.form differs from 1.0): the string "<domain>:<properties><wild>", where:
    • <domain> represents the domain part of the ObjectName
    • <properties> represents the list of properties, as returned by ObjectName.getKeyPropertyListString()
    • <wild> is empty if not isPropertyPattern, or is the character "*" if isPropertyPattern and <properties> is empty, or is ",*" if isPropertyPattern and <properties> is not empty.
    The intent is that this string could be supplied to the ObjectName.ObjectName(String) constructor to produce an equivalent ObjectName.
  • In the old serial form (value of property jmx.serial.form is 1.0): <domain> <propertyList> <propertyListString> <canonicalName> <pattern> <propertyPattern>, where:
    • <domain> represents the domain part of the ObjectName
    • <propertyList> is the Hashtable that contains all the pairs (key,value) for this ObjectName
    • <propertyListString> is the String representation of the list of properties in any order (not mandatorily a canonical representation)
    • <canonicalName> is the String containing this ObjectName's canonical name
    • <pattern> is a boolean which is true if this ObjectName contains a pattern
    • <propertyPattern> is a boolean which is true if this ObjectName contains a pattern in the list of properties
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Serializes an ObjectName to an ObjectOutputStream.

Serial Data:
  • In the current serial form (value of property jmx.serial.form differs from 1.0): the string "<domain>:<properties><wild>", where:
    • <domain> represents the domain part of the ObjectName
    • <properties> represents the list of properties, as returned by ObjectName.getKeyPropertyListString()
    • <wild> is empty if not isPropertyPattern, or is the character "*" if this isPropertyPattern and <properties> is empty, or is ",*" if isPropertyPattern and <properties> is not empty.
    The intent is that this string could be supplied to the ObjectName.ObjectName(String) constructor to produce an equivalent ObjectName.
  • In the old serial form (value of property jmx.serial.form is 1.0): <domain> <propertyList> <propertyListString> <canonicalName> <pattern> <propertyPattern>, where:
    • <domain> represents the domain part of the ObjectName
    • <propertyList> is the Hashtable that contains all the pairs (key,value) for this ObjectName
    • <propertyListString> is the String representation of the list of properties in any order (not mandatorily a canonical representation)
    • <canonicalName> is the String containing this ObjectName's canonical name
    • <pattern> is a boolean which is true if this ObjectName contains a pattern
    • <propertyPattern> is a boolean which is true if this ObjectName contains a pattern in the list of properties
Throws:
java.io.IOException