/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at LICENSE.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/**
* If you extend this file, don't forget to add an information into the root
* README.
*
* @author Kryštof Tulinger
*/
/**
* Apply the message to the current runtime environment.
*
* @param env the runtime environment
*/
/**
* Factory method for particular message types.
*
* @param type the message type
* @return specific message instance for the given type or null
*/
try {
}
return null;
}
return text;
}
}
return className;
}
}
/**
* @param t set of tags
* @return true if message has at least on of the tags
*/
}
/**
*
* @param t set of tags
* @return true if message has all of the tags
*/
return tags.containsAll(t);
}
/**
*
* @param tag the tag
* @return true if message has this tag
*/
}
return tags;
}
}
return this;
}
return expiration;
}
this.expiration = expiration;
}
return created;
}
}
/**
* @return true if the message is expired
*/
public boolean isExpired() {
}
/**
* Time left to the expiration.
*
* @return the time in milliseconds
*/
public long timeLeft() {
}
int i;
return i;
}
return i;
}
return i;
}
}
public int hashCode() {
int hash = 1;
return hash;
}
if (this == obj) {
return true;
}
return false;
}
return false;
}
return false;
}
return false;
}
return false;
}
return false;
}
return true;
}
/**
* XML SERIALIZATION
*/
e.writeObject(this);
}
}
this.encodeObject(out);
}
}
this.encodeObject(bos);
}
e.writeObject(this);
}
}
return decodeObject(in);
}
}
return ret;
}
ret = d.readObject();
}
throw new IOException("Not a valid message file");
}
return conf;
}
}