admin@glassfish.java.net

annotating _at_Attribute with key()=true

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 24 Mar 2008 19:09:32 -0700

Anyone see anything wrong here?

Annotating Server.java makes the server barf, so I'm nervous, but it
seems that many of the severbeans interfaces are missing key=true.

MB2:config-api lloyd$ svn diff
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ThreadPool.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ThreadPool.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ThreadPool.java (working copy)
@@ -62,7 +62,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getThreadPoolId();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
Application.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
Application.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
Application.java (working copy)
@@ -69,7 +69,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
NodeAgent.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/NodeAgent.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/NodeAgent.java
(working copy)
@@ -69,7 +69,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
EjbModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/EjbModule.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/EjbModule.java
(working copy)
@@ -69,7 +69,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
JmxConnector.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
JmxConnector.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
JmxConnector.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
JaccProvider.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
JaccProvider.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
JaccProvider.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ListenerConfig.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ListenerConfig.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ListenerConfig.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getListenerClassName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
JdbcConnectionPool.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
JdbcConnectionPool.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
JdbcConnectionPool.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Event.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Event.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Event.java
(working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getType();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ExtensionModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ExtensionModule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ExtensionModule.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Profiler.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Profiler.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Profiler.java
(working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/JmsHost.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/JmsHost.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/JmsHost.java
(working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
AdminObjectResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
AdminObjectResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
AdminObjectResource.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
SystemProperty.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
SystemProperty.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
SystemProperty.java (working copy)
@@ -64,7 +64,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
BackendPrincipal.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
BackendPrincipal.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
BackendPrincipal.java (working copy)
@@ -62,7 +62,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getUserName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
MailResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
MailResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
MailResource.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
WebServiceEndpoint.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
WebServiceEndpoint.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
WebServiceEndpoint.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true,key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ManagementRule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ManagementRule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ManagementRule.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorConnectionPool.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorConnectionPool.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorConnectionPool.java (working copy)
@@ -39,7 +39,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
LoadBalancer.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
LoadBalancer.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
LoadBalancer.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
J2eeApplication.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
J2eeApplication.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
J2eeApplication.java (working copy)
@@ -69,7 +69,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
AlertSubscription.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
AlertSubscription.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
AlertSubscription.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
AuditModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
AuditModule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
AuditModule.java (working copy)
@@ -65,7 +65,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
VirtualServer.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
VirtualServer.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
VirtualServer.java (working copy)
@@ -65,7 +65,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getId();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ProviderConfig.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ProviderConfig.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ProviderConfig.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getProviderId();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Cluster.java
(working copy)
@@ -70,7 +70,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
CustomResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
CustomResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
CustomResource.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ExternalJndiResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ExternalJndiResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ExternalJndiResource.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorModule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorModule.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
LifecycleModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
LifecycleModule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
LifecycleModule.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
JdbcResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
JdbcResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
JdbcResource.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ClusterRef.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ClusterRef.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ClusterRef.java (working copy)
@@ -65,7 +65,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getRef();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ResourceAdapterConfig.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ResourceAdapterConfig.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ResourceAdapterConfig.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute
+ @Attribute(required=true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
PersistenceManagerFactoryResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
PersistenceManagerFactoryResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
PersistenceManagerFactoryResource.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/LbConfig.java
(working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
WebModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/WebModule.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/WebModule.java
(working copy)
@@ -70,7 +70,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Property.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Property.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Property.java
(working copy)
@@ -64,7 +64,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ResourceRef.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ResourceRef.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ResourceRef.java (working copy)
@@ -79,7 +79,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getRef();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
HttpListener.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
HttpListener.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
HttpListener.java (working copy)
@@ -65,7 +65,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getId();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ApplicationRef.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ApplicationRef.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ApplicationRef.java (working copy)
@@ -130,7 +130,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getRef();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
RegistryLocation.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
RegistryLocation.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
RegistryLocation.java (working copy)
@@ -62,7 +62,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getConnectorResourceJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorResource.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorResource.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
ConnectorResource.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getJndiName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Engine.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Engine.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Engine.java
(working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getSniffer();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Config.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Config.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Config.java
(working copy)
@@ -89,7 +89,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
SecurityMap.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
SecurityMap.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
SecurityMap.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
IiopListener.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
IiopListener.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
IiopListener.java (working copy)
@@ -67,7 +67,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getId();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
FilterConfig.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
FilterConfig.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
FilterConfig.java (working copy)
@@ -66,7 +66,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getFilterClassName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Action.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Action.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Action.java
(working copy)
@@ -60,7 +60,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getActionMbeanName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/Mbean.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/Mbean.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/Mbean.java
(working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
AuthRealm.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/AuthRealm.java
(revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/AuthRealm.java
(working copy)
@@ -65,7 +65,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
AppclientModule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
AppclientModule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
AppclientModule.java (working copy)
@@ -68,7 +68,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
Index: src/main/java/com/sun/enterprise/config/serverbeans/
TransformationRule.java
===================================================================
--- src/main/java/com/sun/enterprise/config/serverbeans/
TransformationRule.java (revision 19201)
+++ src/main/java/com/sun/enterprise/config/serverbeans/
TransformationRule.java (working copy)
@@ -62,7 +62,7 @@
       * @return possible object is
       * {_at_link String }
       */
- @Attribute(required = true)
+ @Attribute(required = true, key=true)
      public String getName();

      /**
MB2:config-api lloyd$



---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc