ok so I found some of the information requested below :
I am proposing the change below to Resource.java in config-api
/**
* Gets the value of the objectType property.
* where object-type defines the type of the resource.
* It can be:
* system-all - These are system resources for all instances and DAS
* system-admin - These are system resources only in DAS
* system-instance - These are system resources only in instances
* (and not DAS)
* user - User resources (This is the default for all elements)
*
* @return possible object is
* {_at_link String }
*/
@Attribute (defaultValue="user")
@Pattern(regexp="(system-all|system-admin|system-instance|user)")
String getObjectType();
wbn said :
>> Also -- if you add any such refs to the default-config they will be copied over.
where are these refs located exactly (from the config object ?)
On Mar 19, 2010, at 3:16 PM, Jerome Dochez wrote:
>
> On Mar 15, 2010, at 1:52 PM, Byron Nevins wrote:
>
>>
>>
>> On 3/14/2010 8:26 PM, Jerome Dochez wrote:
>>> I am looking at providing support for create/delete-instance and possibly create-cluster.
>>>
>>> do we have documentation that explained what these commands used to do ?
>>>
>>> In particular I am interested to understand :
>>> - where there any system property automatically added ?
>>>
>> Yes -- the 7 port props are automatically overridden in the server element if neccessary. And they are copied over from the default-config.
>> -- This is in the case where no config is specified in the create command.
>>> - ditto with resources and application-refs, were they automatically added ?
>>>
>> application refs are added if they are tagged as "system-all"
>> Ditto for resources that have the object-type marked as "system-all"
>
> so you mean specifically : object-type="system-all", correct ?
>
> I can see that right now, it's system-admin.
>
> What are the various values that can be stored in the object-type ?
>
> seems like I need to refactor the getObjectType() which is now duplicated in all subclasses of Resource to move it in the Resource.
>
>>
>> Also -- if you add any such refs to the default-config they will be copied over.
>>> jerome
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>>
>>
>> --
>> Byron Nevins - Sun Microsystems, Inc.
>> Home: 650-359-1290
>> Cell: 650-784-4123
>> Sierra: 209-295-2188
>>
>>
>> ---------------------------------------------------------------------
>> 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
>