Class Cluster.Decorator

    • Constructor Detail

      • Decorator

        public Decorator()
    • Method Detail

      • decorate

        public void decorate​(org.glassfish.api.admin.AdminCommandContext context,
                             Cluster instance)
                      throws org.jvnet.hk2.config.TransactionFailure,
                             PropertyVetoException
        Decorates the newly CRUD created cluster configuration instance. tasks : - ensures that it references an existing configuration - creates a new config from the default-config if no config-ref was provided. - check for deprecated parameters.
        Specified by:
        decorate in interface CreationDecorator<Cluster>
        Parameters:
        context - administration command context
        instance - newly created configuration element
        Throws:
        org.jvnet.hk2.config.TransactionFailure
        PropertyVetoException