What's the difference between create-instance and create-server command?
Jane
Jennifer Chou wrote:
> When I used create-instance it worked even though the element is
> "server".
> I see it gets specified in the Servers.java config bean:
>
> @Configured
> public interface Servers extends ConfigBeanProxy, Injectable {
>
> /**
> * Return the list of currently configured server. Servers can
> * be added or removed by using the returned {_at_link java.util.List}
> * instance
> *
> * @return the list of configured {_at_link Server}
> */
> @Element
> @Create(value="create-instance", resolver= TypeResolver.class,
> decorator=Server.Decorator.class)
> @Delete(value="delete-instance", resolver= TypeAndNameResolver.class)
> public List<Server> getServer();
>
>
> On 5/6/2010 9:48 AM, Byron Nevins wrote:
>> I think the way it works is create-server will create the instance --
>> because the element is named "server", it is called create-server
>>
>> On 5/5/2010 10:30 PM, Bill Shannon wrote:
>>> I see that we now have a create-cluster command.
>>> Should the CRUD config support also include a
>>> create-instance command?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>