public class ApplicationParameter implements Serializable {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
-
/**
* Representation of an EJB resource reference for a web application, as
* @version $Revision$ $Date$
*/
-public class ContextEjb extends ResourceBase implements Serializable {
+public class ContextEjb extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
public class ContextEnvironment implements Serializable, Injectable {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.HashMap;
* @author Fabien Carrion
*/
-public class ContextHandler extends ResourceBase implements Serializable {
+public class ContextHandler extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
-
/**
* Representation of a local EJB resource reference for a web application, as
* @version $Revision$ $Date$
*/
-public class ContextLocalEjb extends ResourceBase implements Serializable {
+public class ContextLocalEjb extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
/**
* Representation of a resource reference for a web application, as
* @version $Revision$ $Date$
*/
-public class ContextResource extends ResourceBase implements Serializable {
+public class ContextResource extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
-
/**
* Representation of an application resource reference, as represented in
* @version $Revision$ $Date$
*/
-public class ContextResourceEnvRef extends ResourceBase implements Serializable {
+public class ContextResourceEnvRef extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
-
/**
* Representation of a resource link for a web application, as
* @version $Revision$ $Date$
*/
-public class ContextResourceLink extends ResourceBase implements Serializable {
+public class ContextResourceLink extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
package org.apache.catalina.deploy;
-import java.io.Serializable;
import java.util.Iterator;
import java.util.HashMap;
* @version $Revision$ $Date$
*/
-public class ContextService extends ResourceBase implements Serializable {
+public class ContextService extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
public class ContextTransaction implements Serializable {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
public class ErrorPage implements Serializable {
+ private static final long serialVersionUID = 1L;
// ----------------------------------------------------- Instance Variables
public class FilterDef implements Serializable {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
public InjectionTarget() {
+ // NOOP
}
public InjectionTarget(String targetClass, String targetName) {
* @since Tomcat 5.0
*/
-public class MessageDestination {
+public class MessageDestination extends ResourceBase {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
/**
- * The description of this destination.
- */
- private String description = null;
-
- public String getDescription() {
- return (this.description);
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- /**
* The display name of this destination.
*/
private String displayName = null;
/**
- * The name of this destination.
- */
- private String name = null;
-
- public String getName() {
- return (this.name);
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
-
- /**
* The small icon of this destination.
*/
private String smallIcon = null;
StringBuilder sb = new StringBuilder("MessageDestination[");
sb.append("name=");
- sb.append(name);
+ sb.append(getName());
if (displayName != null) {
sb.append(", displayName=");
sb.append(displayName);
sb.append(", smallIcon=");
sb.append(smallIcon);
}
- if (description != null) {
+ if (getDescription() != null) {
sb.append(", description=");
- sb.append(description);
+ sb.append(getDescription());
}
sb.append("]");
return (sb.toString());
package org.apache.catalina.deploy;
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.List;
-
/**
* <p>Representation of a message destination reference for a web application,
* @since Tomcat 5.0
*/
-public class MessageDestinationRef implements Serializable, Injectable {
-
+public class MessageDestinationRef extends ResourceBase {
+ private static final long serialVersionUID = 1L;
+
// ------------------------------------------------------------- Properties
/**
- * The description of this destination ref.
- */
- private String description = null;
-
- public String getDescription() {
- return (this.description);
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- /**
* The link of this destination ref.
*/
private String link = null;
/**
- * The name of this destination ref.
- */
- private String name = null;
-
- public String getName() {
- return (this.name);
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
-
- /**
- * The type of this destination ref.
- */
- private String type = null;
-
- public String getType() {
- return (this.type);
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
-
- /**
* The usage of this destination ref.
*/
private String usage = null;
this.usage = usage;
}
- private List<InjectionTarget> injectionTargets = new ArrayList<InjectionTarget>();
-
- public void addInjectionTarget(String injectionTargetName, String jndiName) {
- InjectionTarget target = new InjectionTarget(injectionTargetName, jndiName);
- injectionTargets.add(target);
- }
-
- public List<InjectionTarget> getInjectionTargets() {
- return injectionTargets;
- }
-
// --------------------------------------------------------- Public Methods
StringBuilder sb = new StringBuilder("MessageDestination[");
sb.append("name=");
- sb.append(name);
+ sb.append(getName());
if (link != null) {
sb.append(", link=");
sb.append(link);
}
- if (type != null) {
+ if (getType() != null) {
sb.append(", type=");
- sb.append(type);
+ sb.append(getType());
}
if (usage != null) {
sb.append(", usage=");
sb.append(usage);
}
- if (description != null) {
+ if (getDescription() != null) {
sb.append(", description=");
- sb.append(description);
+ sb.append(getDescription());
}
sb.append("]");
return (sb.toString());
}
- // -------------------------------------------------------- Package Methods
-
-
- /**
- * The NamingResources with which we are associated (if any).
- */
- protected NamingResources resources = null;
-
- public NamingResources getNamingResources() {
- return (this.resources);
- }
-
- void setNamingResources(NamingResources resources) {
- this.resources = resources;
- }
-
-
}
public class NamingResources implements Serializable {
+ private static final long serialVersionUID = 1L;
// ----------------------------------------------------------- Constructors
* Create a new NamingResources instance.
*/
public NamingResources() {
+ // NOOP
}
public class ResourceBase implements Serializable, Injectable {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties
public class SecurityCollection implements Serializable {
+ private static final long serialVersionUID = 1L;
+
// ----------------------------------------------------------- Constructors
public class SecurityConstraint implements Serializable {
+ private static final long serialVersionUID = 1L;
// ----------------------------------------------------------- Constructors
public class ServletDef implements Serializable {
+ private static final long serialVersionUID = 1L;
// ------------------------------------------------------------- Properties