@ConfigParam (name = "name", use = ConfigParam.Use.OPTIONAL) public SetElementData setElementName(String elementQName) { this.elementQName = elementQName; return this; }
@ConfigParam (defaultVal = "ERROR") public void setOnFail(final OnFail onFail) { this.onFail = onFail; }
@ConfigParam(defaultVal = "1000") // Default pause of 1 second public Pause setPeriod(long period) { this.period = period; return this; }
/** * @param terminateBefore the terminateBefore to set */ @ConfigParam(use = Use.OPTIONAL) public TerminateVisitor setTerminateBefore(boolean terminateBefore) { this.terminateBefore = terminateBefore; return this; }
/** * Omit the XML Declaration from the serialized fragments. * @param omitXMLDeclaration True if the XML declaration is to be omitted, otherwise false. * @return this instance. */ @ConfigParam(defaultVal = "false") public FragmentSerializer setOmitXMLDeclaration(boolean omitXMLDeclaration) { this.omitXMLDeclaration = omitXMLDeclaration; return this; }
@ConfigParam(defaultVal = "false") public RemoveElement setKeepChildren(boolean keepChildren) { this.keepChildren = keepChildren; return this; }
@ConfigParam (name = "namespace", use = ConfigParam.Use.OPTIONAL) public SetElementData setElementNamespace(String namespace) { this.elementNamespace = namespace; return this; }
@ConfigParam public RemoveAttribute setName(String attributeName) { this.qName = attributeName; return this; }
/** * Set the bind-to beanId for the serialized fragment. * @param bindTo The bind-to beanId for the serialized fragment. * @return this instance. */ @ConfigParam public FragmentSerializer setBindTo(String bindTo) { this.bindTo = bindTo; return this; }
@ConfigParam (use = ConfigParam.Use.OPTIONAL) public RemoveAttribute setNamespace(String attributeNamespace) { this.namespace = attributeNamespace; return this; }
@ConfigParam ( use = Use.OPTIONAL ) public void setJndiContextFactory( final String contextFactory ) { jndiProperties.setContextFactory( contextFactory ); }
@ConfigParam ( use = Use.OPTIONAL ) public void setJndiProperties(final String propertiesFile ) { jndiProperties.setPropertiesFile( propertiesFile ); }
@ConfigParam ( use = Use.OPTIONAL ) public void setTimeToLive( final long timeToLive ) { jmsProperties.setTimeToLive( timeToLive ); }
@ConfigParam ( use = Use.OPTIONAL ) public void setSecurityCredential( final String securityCredential ) { jmsProperties.setSecurityCredential( securityCredential ); }
@ConfigParam ( use = Use.OPTIONAL ) public void setPriority( final int priority ) { jmsProperties.setPriority( priority ); }
@ConfigParam (defaultVal = "AUTO_ACKNOWLEDGE", choice = {"AUTO_ACKNOWLEDGE", "CLIENT_ACKNOWLEDGE", "DUPS_OK_ACKNOWLEDGE" } ) public void setAcknowledgeMode( final String jmsAcknowledgeMode ) { jmsProperties.setAcknowledgeMode( jmsAcknowledgeMode ); }
@ConfigParam ( use = Use.OPTIONAL ) public void setSecurityPrincipal( final String securityPrincipal ) { jmsProperties.setSecurityPrincipal( securityPrincipal ); }
@ConfigParam ( use = Use.OPTIONAL, defaultVal = "false" ) public void setTransacted( final boolean transacted ) { jmsProperties.setTransacted( transacted ); }
@ConfigParam ( use = Use.OPTIONAL ) public void setJndiNamingFactoryUrl(final String pkgUrl ) { jndiProperties.setNamingFactoryUrlPkgs( pkgUrl ); }
@ConfigParam (name="name") public void setCompositRuleName(final String compositRuleName) { this.compositRuleName = compositRuleName; this.ruleProviderName = RuleProviderAccessor.parseRuleProviderName(compositRuleName); this.ruleName = RuleProviderAccessor.parseRuleName(compositRuleName); }