@ResourceConfigCreator(commandName="create-javamail-resource")
@ResourceTypeOrder(deploymentOrder=MAIL_RESOURCE)
@UniqueResourceNameConstraint(message="{resourcename.isnot.unique}",
payload=MailResource.class)
public interface MailResource
extends org.jvnet.hk2.config.ConfigBeanProxy, com.sun.enterprise.config.serverbeans.Resource, org.jvnet.hk2.config.types.PropertyBag, com.sun.enterprise.config.serverbeans.BindableResource
| Modifier and Type | Interface and Description |
|---|---|
static class |
MailResource.Duck |
| Modifier and Type | Method and Description |
|---|---|
String |
getDebug()
Gets the value of the debug property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getEnabled()
Gets the value of the enabled property.
|
@NotNull String |
getFrom()
Gets the value of the from property.
|
@NotNull String |
getHost()
Gets the value of the host property.
|
String |
getIdentity() |
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per
PropertyBag |
String |
getStoreProtocol()
Gets the value of the storeProtocol property.
|
String |
getStoreProtocolClass()
Gets the value of the storeProtocolClass property.
|
String |
getTransportProtocol()
Gets the value of the transportProtocol property.
|
String |
getTransportProtocolClass()
Gets the value of the transportProtocolClass property.
|
@NotNull String |
getUser()
Gets the value of the user property.
|
void |
setDebug(String value)
Sets the value of the debug property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEnabled(String value)
Sets the value of the enabled property.
|
void |
setFrom(String value)
Sets the value of the from property.
|
void |
setHost(String value)
Sets the value of the host property.
|
void |
setStoreProtocol(String value)
Sets the value of the storeProtocol property.
|
void |
setStoreProtocolClass(String value)
Sets the value of the storeProtocolClass property.
|
void |
setTransportProtocol(String value)
Sets the value of the transportProtocol property.
|
void |
setTransportProtocolClass(String value)
Sets the value of the transportProtocolClass property.
|
void |
setUser(String value)
Sets the value of the user property.
|
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removePropertygetJndiName, setJndiNameString getStoreProtocol()
Stringvoid setStoreProtocol(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@JavaClassName String getStoreProtocolClass()
Stringvoid setStoreProtocolClass(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getTransportProtocol()
Stringvoid setTransportProtocol(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@JavaClassName String getTransportProtocolClass()
Stringvoid setTransportProtocolClass(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@NotNull @NotNull String getHost()
Stringvoid setHost(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@NotNull @NotNull String getUser()
Stringvoid setUser(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@NotNull @NotNull String getFrom()
Stringvoid setFrom(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionvoid setDebug(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getEnabled()
getEnabled in interface com.sun.enterprise.config.serverbeans.BindableResourceStringvoid setEnabled(String value) throws PropertyVetoException
setEnabled in interface com.sun.enterprise.config.serverbeans.BindableResourcevalue - allowed object is
StringPropertyVetoExceptionString getDescription()
Stringvoid setDescription(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBaggetProperty in interface org.jvnet.hk2.config.types.PropertyBag@DuckTyped String getIdentity()
getIdentity in interface com.sun.enterprise.config.serverbeans.BindableResourcegetIdentity in interface com.sun.enterprise.config.serverbeans.ResourceCopyright © 2017. All rights reserved.