admin@glassfish.java.net

Re: What does --objecttype in create-resource-adapter-config specify?

From: Jennifer Chou <Jennifer.Chou_at_Sun.COM>
Date: Mon, 04 May 2009 10:57:09 +0100

Hi Paul and Team,

I also posted the same question in the admin alias but I think it may
have been missed. Here's my original question:

Do you know if --objecttype is a valid option? It was available on the config beans like ConnectorResource, ResourceAdapterConfig, so I exposed them as an option. They are not listed in the manpage so I'm not sure if they should be added to manpages, or continued to be left out of the commands.


object-type appears in the dtd but does not seem to be an option in the
v2 commands when I view the usage text. This is what I found in the
sun-domain_1_3.dtd

<!-- 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)

  Used in:
    admin-object-resource, connector-module, connector-resource,
    custom-resource, ejb-module, extension-module,
    external-jndi-resource, j2ee-application, jdbc-resource,
    lifecycle-module, mail-resource, mbean,
    persistence-manager-factory-resource, resource-adapter-config,
    web-module
-->
<!ENTITY % object-type "(system-all | system-admin | system-instance |
user)">


Paul - if you need to to decide right away - it doesn't seem critical to
have in the manpage for preview since it doesn't seem to be used. I
think it's ok to leave out until we find out for sure.

Jennifer


Paul Davies wrote:
> Hi Jennifer,
>
> According to GlassFish Issue 8145
> <https://glassfish.dev.java.net/issues/show_bug.cgi?id=8145>,
> --objecttype is missing from the create-resource-adapter-config(1) man
> page. I cannot find any information about this option anywhere, but
> from the usage statement, it appears that the default is user.
>
> Do you have any information about this option that I can include in
> the man page? Also, is my guess about the default correct?
>
> If you can get me this information by the Admin I-Team meeting
> tomorrow (May 4), I might be able to get it into the v3 Preview branch
> by HCF.
>
> Thanks!
> -Paul
> --
> Paul Davies, Senior Technical Writer, Sun Microsystems, Inc.
> http://blogs.sun.com/techscribe/