Interface MailResource
-
- All Superinterfaces:
BindableResource,ConfigBeanProxy,jakarta.validation.Payload,PropertyBag,Resource
@ResourceConfigCreator(commandName="create-javamail-resource") @ResourceTypeOrder(deploymentOrder=MAIL_RESOURCE) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=MailResource.class) public interface MailResource extends ConfigBeanProxy, Resource, PropertyBag, BindableResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMailResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuth()Gets the value of the auth propertyStringgetDebug()Gets the value of the debug property.StringgetDescription()Gets the value of the description property.StringgetEnabled()Gets the value of the enabled property.@NotNull StringgetFrom()Gets the value of the from property.@NotNull StringgetHost()Gets the value of the host property.StringgetIdentity()StringgetPassword()Gets the value of the password propertyList<Property>getProperty()Properties as perPropertyBagStringgetStoreProtocol()Gets the value of the storeProtocol property.StringgetStoreProtocolClass()Gets the value of the storeProtocolClass property.StringgetTransportProtocol()Gets the value of the transportProtocol property.StringgetTransportProtocolClass()Gets the value of the transportProtocolClass property.@NotNull StringgetUser()Gets the value of the user property.voidsetAuth(String value)Sets the value of the auth propertyvoidsetDebug(String value)Sets the value of the debug property.voidsetDescription(String value)Sets the value of the description property.voidsetEnabled(String value)Sets the value of the enabled property.voidsetFrom(String value)Sets the value of the from property.voidsetHost(String value)Sets the value of the host property.voidsetPassword(String value)Sets the value of the password propertyvoidsetStoreProtocol(String value)Sets the value of the storeProtocol property.voidsetStoreProtocolClass(String value)Sets the value of the storeProtocolClass property.voidsetTransportProtocol(String value)Sets the value of the transportProtocol property.voidsetTransportProtocolClass(String value)Sets the value of the transportProtocolClass property.voidsetUser(String value)Sets the value of the user property.-
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
-
-
-
Method Detail
-
getStoreProtocol
String getStoreProtocol()
Gets the value of the storeProtocol property.- Returns:
- possible object is
String
-
setStoreProtocol
void setStoreProtocol(String value) throws PropertyVetoException
Sets the value of the storeProtocol property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getStoreProtocolClass
@JavaClassName String getStoreProtocolClass()
Gets the value of the storeProtocolClass property.- Returns:
- possible object is
String
-
setStoreProtocolClass
void setStoreProtocolClass(String value) throws PropertyVetoException
Sets the value of the storeProtocolClass property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getTransportProtocol
String getTransportProtocol()
Gets the value of the transportProtocol property.- Returns:
- possible object is
String
-
setTransportProtocol
void setTransportProtocol(String value) throws PropertyVetoException
Sets the value of the transportProtocol property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getTransportProtocolClass
@JavaClassName String getTransportProtocolClass()
Gets the value of the transportProtocolClass property.- Returns:
- possible object is
String
-
setTransportProtocolClass
void setTransportProtocolClass(String value) throws PropertyVetoException
Sets the value of the transportProtocolClass property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getHost
@NotNull @NotNull String getHost()
Gets the value of the host property. ip V6 or V4 address or hostname- Returns:
- possible object is
String
-
setHost
void setHost(String value) throws PropertyVetoException
Sets the value of the host property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getUser
@NotNull @NotNull String getUser()
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
void setUser(String value) throws PropertyVetoException
Sets the value of the user property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getPassword
String getPassword()
Gets the value of the password property- Returns:
- possible object is
String
-
setPassword
void setPassword(String value) throws PropertyVetoException
Sets the value of the password property- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
setAuth
void setAuth(String value) throws PropertyVetoException
Sets the value of the auth property- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getFrom
@NotNull @NotNull String getFrom()
Gets the value of the from property.- Returns:
- possible object is
String
-
setFrom
void setFrom(String value) throws PropertyVetoException
Sets the value of the from property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
setDebug
void setDebug(String value) throws PropertyVetoException
Sets the value of the debug property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabledin interfaceBindableResource- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabledin interfaceBindableResource- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceBindableResource- Specified by:
getIdentityin interfaceResource
-
-