Caucho Technology
  • resin 4.0
  • resource beans


    List of Resin's CanDI-style resources.

    Administration

    Administration
    NAMEDESCRIPTION
    <resin:JmxService>Enables cluster-wide JMX administration.
    <resin:LogService>Stores high-priority log messages in a database.
    <resin:PingMailer>Mails a notification when a ping check fails.
    <resin:PingThread>Checks status of Resin sutomatically.
    <resin:StatService>Gathers timed runtime status of Resin for graphing.
    <resin:XaLogService>Transaction log service.
    <resin:RemoteAdminService>Enables administration by remote agents, like an eclipse console.

    Clustered Caching (JCache)

    Caches
    NAMEDESCRIPTION
    <resin:ByteStreamCache>Distributed cache of InputStream/OutputStream byte streams across a cluster pod.
    <resin:ClusterCache>JCache-style distributed object cache across a cluster pod (java.util.Map).
    <resin:GlobalCache>JCache-style distributed object cache across the entire Resin system.

    JMS

    JMS
    NAMEDESCRIPTION
    <resin:JmsConnectionFactory>Combined Queue and Topic ConnectionFactory.
    <resin:ClusterQueue>Clustered queue.
    <resin:FileQueue>Filesystem based queue.
    <resin:FileTopic>Filesystem based topic.
    <resin:MemoryQueue>Memory based queue.
    <resin:MemoryTopic>Memory based topic.

    Protocols

    Protocols
    NAMEDESCRIPTION
    <resin:FastCgiPort>FastCGI requests, e.g. from nginx.

    Rewrite

    Dispatch rules
    NAMEDESCRIPTION
    <resin:Dispatch>Normal servlet dispatching with optional target rewriting.
    <resin:FastCgiProxy>Proxies the request to a backend server using FastCGI as a proxy protocol.
    <resin:Forbidden>Send a HTTP forbidden response.
    <resin:Forward>Forwards to the new URL using RequestDispatcher.forward with the target URL.
    <resin:HttpProxy>Proxies the request to a backend server using HTTP as a proxy protocol.
    <resin:LoadBalance>Load balance to a cluster of backend Resin servers.
    <resin:Redirect>Send a HTTP redirect to a new URL specified by target.
    <resin:SendError>Send a HTTP error response.
    AbstractTargetDispatchRuleBase class for custom dispatch rules.
    Rewrite filters
    NAMEDESCRIPTION
    <resin:SetHeader>Sets a response header.
    <resin:SetRequestSecure>Marks the request as secure.
    <mypkg:MyFilter>Servlet filters.

    Repository

    Repository
    NAMEDESCRIPTION
    <resin:ProjectJarRepository>Maven-style library jar management for webapps.

    Request Conditions

    Basic conditions
    NAMEDESCRIPTION
    <resin:IfAuthType>Checks for the authentication type, request.getAuthType().
    <resin:IfCookie>Checks for the presence of a named HTTP cookie from request.getCookies().
    <resin:IfCron>Matches if the current time is in an active range configured by cron-style times.
    <resin:IfFileExists>Matches if the URL corresponds to an actual file.
    <resin:IfHeader>Tests for a HTTP header and value match.
    <resin:IfLocale>Tests for a Locale match from the HTTP request.
    <resin:IfLocalPort>Compares the local port of the request, request.getLocalPort().
    <resin:IfMethod>Compares the HTTP method, request.getMethod().
    <resin:IfNetwork>Compares the remote IP address to a network pattern like 192.168/16.
    <resin:IfQueryParam>Tests for a HTTP query parameger, request.getParameter().
    <resin:IfRemoteAddr>Tests against the remote IP address, request.getRemoteAddr().
    <resin:IfRemoteUser>Tests against the remote user, request.getRemoteUser().
    <resin:IfSecure>True for SSL requests, i.e. if request.isSecure() is true.
    <resin:IfUserInRole>Tests is the user is in the servlet security role.
    RequestPredicateInterface for custom request predicates.
    Combining conditions
    NAMEDESCRIPTION
    <resin:And>Matches if all children match.
    <resin:Or>Matches if any children match.
    <resin:Not>Matches if the child does not match.
    <resin:NotAnd>Matches if any child does not match.
    <resin:NotOr>Matches if all the children do not match.

    Scheduling

    Scheduling
    NAMEDESCRIPTION
    <resin:ScheduledTask>cron-style task scheduling.

    Security

    Authenticators
    NAMEDESCRIPTION
    <resin:AdminAuthenticator>Resin administration authentication (same syntax as XmlAuthenticator).
    <resin:DatabaseAuthenticator>Authentication using a JDBC database schema.
    <resin:JaasAuthenticator>Java authentication service authenticator.
    <resin:LdapAuthenticator>LDAP authentication using JNDI.
    <resin:PropertiesAuthenticator>.properties file authentication.
    <resin:XmlAuthenticator>.xml file authentication.
    AbstractAuthenticatorAbstract class for custom authentication.
    Single Signon
    NAMEDESCRIPTION
    <resin:ClusterSingleSignon>Cluster-based single signon.
    <resin:MemorySingleSignon>Memory-based single signon.
    Login managers
    NAMEDESCRIPTION
    <resin:BasicLogin>HTTP basic authentication.
    <resin:DigestLogin>HTTP digest authentication.
    <resin:FormLogin>Servlet form authentication.
    AbstractLoginAbstract class for custom login.
    Authorization rules
    NAMEDESCRIPTION
    <resin:Allow>Allows access to a URL pattern.
    <resin:Deny>Denies access to a URL pattern.
    Permission Mapping
    NAMEDESCRIPTION
    <resin:XmlRoleMap>Role to group permission mapping.
    AbstractRoleMapAbstract class for custom role to group permission mapping.

    Copyright © 1998-2009 Caucho Technology, Inc. All rights reserved.
    Resin ® is a registered trademark, and Quercustm, Ambertm, and Hessiantm are trademarks of Caucho Technology.