You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scout-dev@ws.apache.org by an...@apache.org on 2004/12/21 11:24:54 UTC
svn commit: r122958 - /webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java /webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
Author: anil
Date: Tue Dec 21 02:24:52 2004
New Revision: 122958
URL: http://svn.apache.org/viewcvs?view=rev&rev=122958
Log:
Added implementation of Slot and SpecificationLink.
Added:
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
Added: webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
Url: http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java?view=auto&rev=122958
==============================================================================
--- (empty file)
+++ webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java Tue Dec 21 02:24:52 2004
@@ -0,0 +1,60 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.apache.ws.scout.registry.infomodel;
+
+import javax.xml.registry.infomodel.Slot;
+import javax.xml.registry.JAXRException;
+import javax.xml.registry.LifeCycleManager;
+import java.util.Collection;
+
+/**
+ * Implements Jaxr API
+ *
+ * @author <ma...@apache.org>Anil Saldhana
+ * @since Nov 20, 2004
+ */
+public class SlotImpl implements Slot
+{
+ private String slotType;
+ private String name;
+ private Collection values;
+ private LifeCycleManager lcm;
+
+ public SlotImpl(LifeCycleManager lifeCycleManager)
+ {
+ lcm = lifeCycleManager;
+ }
+ public String getName() throws JAXRException
+ {
+ return name;
+ }
+
+ public String getSlotType() throws JAXRException
+ {
+ return slotType;
+ }
+
+ public Collection getValues() throws JAXRException
+ {
+ return values;
+ }
+
+ public void setName(String s) throws JAXRException
+ {
+ name = s;
+ }
+
+ public void setSlotType(String s) throws JAXRException
+ {
+ slotType = s;
+ }
+
+ public void setValues(Collection collection) throws JAXRException
+ {
+ values = collection;
+ }
+}
Added: webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
Url: http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java?view=auto&rev=122958
==============================================================================
--- (empty file)
+++ webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java Tue Dec 21 02:24:52 2004
@@ -0,0 +1,80 @@
+/**
+ *
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.ws.scout.registry.infomodel;
+
+import javax.xml.registry.infomodel.SpecificationLink;
+import javax.xml.registry.infomodel.ServiceBinding;
+import javax.xml.registry.infomodel.RegistryObject;
+import javax.xml.registry.infomodel.InternationalString;
+import javax.xml.registry.JAXRException;
+import javax.xml.registry.LifeCycleManager;
+import java.util.Collection;
+
+/**
+ * Implements JAXR API
+ *
+ * @author <ma...@apache.org>Anil Saldhana
+ * @since Nov 20, 2004
+ */
+public class SpecificationLinkImpl extends RegistryObjectImpl
+implements SpecificationLink
+{
+ private Collection usageParams;
+ private InternationalString descr;
+ private RegistryObject specObj;
+ private ServiceBinding binding;
+
+ public SpecificationLinkImpl(LifeCycleManager lifeCycleManager)
+ {
+ super(lifeCycleManager);
+ }
+
+ public ServiceBinding getServiceBinding() throws JAXRException
+ {
+ return binding;
+ }
+
+ public RegistryObject getSpecificationObject() throws JAXRException
+ {
+ return specObj;
+ }
+
+ public InternationalString getUsageDescription() throws JAXRException
+ {
+ return descr;
+ }
+
+ public Collection getUsageParameters() throws JAXRException
+ {
+ return usageParams;
+ }
+
+ public void setSpecificationObject(RegistryObject registryObject) throws JAXRException
+ {
+ specObj = registryObject;
+ }
+
+ public void setUsageDescription(InternationalString is) throws JAXRException
+ {
+ descr = is;
+ }
+
+ public void setUsageParameters(Collection collection) throws JAXRException
+ {
+ usageParams = collection;
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org
Re: svn commit: r122958 - /webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java /webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
Posted by Anil Saldhana <an...@yahoo.com>.
Jeremy,
mistake from my IDEA IDE settings. I am going to
correct it right now.
Thanks for the pointer.
Regards,
Anil
--- Jeremy Boynes <jb...@apache.org> wrote:
> SlotImpl has a JBoss LGPL header message at the top
> of the file - can
> you confirm this code can be contributed to Apache?
>
>
> anil@apache.org wrote:
> > Author: anil
> > Date: Tue Dec 21 02:24:52 2004
> > New Revision: 122958
> >
> > URL:
> http://svn.apache.org/viewcvs?view=rev&rev=122958
> > Log:
> > Added implementation of Slot and
> SpecificationLink.
> >
> > Added:
> >
>
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
> >
>
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
> >
> > Added:
>
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
> > Url:
>
http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java?view=auto&rev=122958
> >
>
==============================================================================
> > --- (empty file)
> > +++
>
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
> Tue Dec 21 02:24:52 2004
> > @@ -0,0 +1,60 @@
> > +/*
> > + * JBoss, the OpenSource J2EE webOS
> > + *
> > + * Distributable under LGPL license.
> > + * See terms of license at gnu.org.
> > + */
> > +package org.apache.ws.scout.registry.infomodel;
> > +
> > +import javax.xml.registry.infomodel.Slot;
> > +import javax.xml.registry.JAXRException;
> > +import javax.xml.registry.LifeCycleManager;
> > +import java.util.Collection;
> > +
> > +/**
> > + * Implements Jaxr API
> > + *
> > + * @author <ma...@apache.org>Anil Saldhana
> > + * @since Nov 20, 2004
> > + */
> > +public class SlotImpl implements Slot
> > +{
> > + private String slotType;
> > + private String name;
> > + private Collection values;
> > + private LifeCycleManager lcm;
> > +
> > + public SlotImpl(LifeCycleManager
> lifeCycleManager)
> > + {
> > + lcm = lifeCycleManager;
> > + }
> > + public String getName() throws JAXRException
> > + {
> > + return name;
> > + }
> > +
> > + public String getSlotType() throws
> JAXRException
> > + {
> > + return slotType;
> > + }
> > +
> > + public Collection getValues() throws
> JAXRException
> > + {
> > + return values;
> > + }
> > +
> > + public void setName(String s) throws
> JAXRException
> > + {
> > + name = s;
> > + }
> > +
> > + public void setSlotType(String s) throws
> JAXRException
> > + {
> > + slotType = s;
> > + }
> > +
> > + public void setValues(Collection collection)
> throws JAXRException
> > + {
> > + values = collection;
> > + }
> > +}
> >
> > Added:
>
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
> > Url:
>
http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java?view=auto&rev=122958
> >
>
==============================================================================
> > --- (empty file)
> > +++
>
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
> Tue Dec 21 02:24:52 2004
> > @@ -0,0 +1,80 @@
> > +/**
> > + *
> > + * Copyright 2004 The Apache Software Foundation
> > + *
> > + * Licensed under the Apache License, Version
> 2.0 (the "License");
> > + * you may not use this file except in
> compliance with the License.
> > + * You may obtain a copy of the License at
> > + *
> > + * http://www.apache.org/licenses/LICENSE-2.0
> > + *
> > + * Unless required by applicable law or agreed
> to in writing, software
> > + * distributed under the License is distributed
> on an "AS IS" BASIS,
> > + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
> either express or implied.
> > + * See the License for the specific language
> governing permissions and
> > + * limitations under the License.
> > + */
> > +package org.apache.ws.scout.registry.infomodel;
> > +
> > +import
> javax.xml.registry.infomodel.SpecificationLink;
> > +import
> javax.xml.registry.infomodel.ServiceBinding;
> > +import
> javax.xml.registry.infomodel.RegistryObject;
> > +import
> javax.xml.registry.infomodel.InternationalString;
> > +import javax.xml.registry.JAXRException;
> > +import javax.xml.registry.LifeCycleManager;
> > +import java.util.Collection;
> > +
> > +/**
> > + * Implements JAXR API
> > + *
> > + * @author <ma...@apache.org>Anil Saldhana
> > + * @since Nov 20, 2004
> > + */
> > +public class SpecificationLinkImpl extends
> RegistryObjectImpl
> > +implements SpecificationLink
> > +{
> > + private Collection usageParams;
> > + private InternationalString descr;
> > + private RegistryObject specObj;
> > + private ServiceBinding binding;
> > +
> > + public SpecificationLinkImpl(LifeCycleManager
> lifeCycleManager)
> > + {
> > + super(lifeCycleManager);
> > + }
> > +
> > + public ServiceBinding getServiceBinding()
> throws JAXRException
> > + {
> > + return binding;
> > + }
> > +
> > + public RegistryObject
> getSpecificationObject() throws JAXRException
> > + {
> > + return specObj;
> > + }
> > +
> > + public InternationalString
> getUsageDescription() throws JAXRException
> > + {
> > + return descr;
> > + }
> > +
> > + public Collection getUsageParameters() throws
> JAXRException
> > + {
> > + return usageParams;
> > + }
> > +
> > + public void
> setSpecificationObject(RegistryObject
> registryObject) throws JAXRException
> > + {
> > + specObj = registryObject;
> > + }
> > +
> > + public void
> setUsageDescription(InternationalString is) throws
> JAXRException
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Send a seasonal email greeting and help others. Do good.
http://celebrity.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org
Re: svn commit: r122958 - /webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
Posted by Jeremy Boynes <jb...@apache.org>.
SlotImpl has a JBoss LGPL header message at the top of the file - can
you confirm this code can be contributed to Apache?
anil@apache.org wrote:
> Author: anil
> Date: Tue Dec 21 02:24:52 2004
> New Revision: 122958
>
> URL: http://svn.apache.org/viewcvs?view=rev&rev=122958
> Log:
> Added implementation of Slot and SpecificationLink.
>
> Added:
> webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
> webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
>
> Added: webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java
> Url: http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java?view=auto&rev=122958
> ==============================================================================
> --- (empty file)
> +++ webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SlotImpl.java Tue Dec 21 02:24:52 2004
> @@ -0,0 +1,60 @@
> +/*
> + * JBoss, the OpenSource J2EE webOS
> + *
> + * Distributable under LGPL license.
> + * See terms of license at gnu.org.
> + */
> +package org.apache.ws.scout.registry.infomodel;
> +
> +import javax.xml.registry.infomodel.Slot;
> +import javax.xml.registry.JAXRException;
> +import javax.xml.registry.LifeCycleManager;
> +import java.util.Collection;
> +
> +/**
> + * Implements Jaxr API
> + *
> + * @author <ma...@apache.org>Anil Saldhana
> + * @since Nov 20, 2004
> + */
> +public class SlotImpl implements Slot
> +{
> + private String slotType;
> + private String name;
> + private Collection values;
> + private LifeCycleManager lcm;
> +
> + public SlotImpl(LifeCycleManager lifeCycleManager)
> + {
> + lcm = lifeCycleManager;
> + }
> + public String getName() throws JAXRException
> + {
> + return name;
> + }
> +
> + public String getSlotType() throws JAXRException
> + {
> + return slotType;
> + }
> +
> + public Collection getValues() throws JAXRException
> + {
> + return values;
> + }
> +
> + public void setName(String s) throws JAXRException
> + {
> + name = s;
> + }
> +
> + public void setSlotType(String s) throws JAXRException
> + {
> + slotType = s;
> + }
> +
> + public void setValues(Collection collection) throws JAXRException
> + {
> + values = collection;
> + }
> +}
>
> Added: webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java
> Url: http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java?view=auto&rev=122958
> ==============================================================================
> --- (empty file)
> +++ webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/infomodel/SpecificationLinkImpl.java Tue Dec 21 02:24:52 2004
> @@ -0,0 +1,80 @@
> +/**
> + *
> + * Copyright 2004 The Apache Software Foundation
> + *
> + * Licensed under the Apache License, Version 2.0 (the "License");
> + * you may not use this file except in compliance with the License.
> + * You may obtain a copy of the License at
> + *
> + * http://www.apache.org/licenses/LICENSE-2.0
> + *
> + * Unless required by applicable law or agreed to in writing, software
> + * distributed under the License is distributed on an "AS IS" BASIS,
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> + * See the License for the specific language governing permissions and
> + * limitations under the License.
> + */
> +package org.apache.ws.scout.registry.infomodel;
> +
> +import javax.xml.registry.infomodel.SpecificationLink;
> +import javax.xml.registry.infomodel.ServiceBinding;
> +import javax.xml.registry.infomodel.RegistryObject;
> +import javax.xml.registry.infomodel.InternationalString;
> +import javax.xml.registry.JAXRException;
> +import javax.xml.registry.LifeCycleManager;
> +import java.util.Collection;
> +
> +/**
> + * Implements JAXR API
> + *
> + * @author <ma...@apache.org>Anil Saldhana
> + * @since Nov 20, 2004
> + */
> +public class SpecificationLinkImpl extends RegistryObjectImpl
> +implements SpecificationLink
> +{
> + private Collection usageParams;
> + private InternationalString descr;
> + private RegistryObject specObj;
> + private ServiceBinding binding;
> +
> + public SpecificationLinkImpl(LifeCycleManager lifeCycleManager)
> + {
> + super(lifeCycleManager);
> + }
> +
> + public ServiceBinding getServiceBinding() throws JAXRException
> + {
> + return binding;
> + }
> +
> + public RegistryObject getSpecificationObject() throws JAXRException
> + {
> + return specObj;
> + }
> +
> + public InternationalString getUsageDescription() throws JAXRException
> + {
> + return descr;
> + }
> +
> + public Collection getUsageParameters() throws JAXRException
> + {
> + return usageParams;
> + }
> +
> + public void setSpecificationObject(RegistryObject registryObject) throws JAXRException
> + {
> + specObj = registryObject;
> + }
> +
> + public void setUsageDescription(InternationalString is) throws JAXRException
> + {
> + descr = is;
> + }
> +
> + public void setUsageParameters(Collection collection) throws JAXRException
> + {
> + usageParams = collection;
> + }
> +}
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: scout-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org