HITACHI Inspire The Next

uCosminexus Application Server

API Reference Guide

3020-3-Y21-10(E)


Contents

Notices
Summary of amendments
Preface
1. Overview of APIs and Tag Libraries
1.1 Types of APIs and Tag Libraries
1.2 Format for describing annotation
1.3 Coding Format of APIs
2. Annotations and Dependency Injection Supported by Application Server
2.1 Scope for the supported annotations
2.1.1 Scope of support for the annotations included in the javax.annotation package
2.1.2 Scope of support for the annotations included in the javax.annotation.security package
2.1.3 Scope of support for the annotations included in the javax.ejb package
2.1.4 Scope of support for the annotations included in the javax.interceptor package
2.1.5 Scope of support for the annotations included in the javax.jws package
2.1.6 Scope of support for the annotations included in the javax.persistence package
2.1.7 Scope of support for the annotations included in the javax.servlet.annotation package
2.1.8 Scope of support for the annotations included in the javax.xml.ws package
2.1.9 Support range of annotations included in the javax.xml.ws.soap package
2.1.10 Support range of annotations included in the javax.xml.ws.spi package
2.1.11 List of supported CDI annotations
2.1.12 List of supported JSF annotations
2.1.13 List of supported Bean Validation annotations
2.2 javax.annotation package
2.2.1 @PostConstruct
2.2.2 @PreDestroy
2.2.3 @Resource
2.2.4 @Resources
2.3 javax.annotation.security package
2.3.1 @DeclareRoles
2.3.2 @DenyAll
2.3.3 @PermitAll
2.3.4 @RolesAllowed
2.3.5 @RunAs
2.4 javax.ejb package
2.4.1 @AccessTimeout
2.4.2 @AfterBegin
2.4.3 @AfterCompletion
2.4.4 @ApplicationExceptionn
2.4.5 @Asynchronous
2.4.6 @BeforeCompletion
2.4.7 @ConcurrencyManagement
2.4.8 @DependsOn
2.4.9 @EJB
2.4.10 @EJBs
2.4.11 @Init
2.4.12 @Local
2.4.13 @LocalBean
2.4.14 @LocalHome
2.4.15 @Lock
2.4.16 @PostActivate
2.4.17 @PrePassivate
2.4.18 @Remote
2.4.19 @RemoteHome
2.4.20 @Remove
2.4.21 @Schedule
2.4.22 @Schedules
2.4.23 @Singleton
2.4.24 @Startup
2.4.25 @Stateful
2.4.26 @Stateless
2.4.27 @Timeout
2.4.28 @TransactionAttribute
2.4.29 @TransactionManagement
2.5 javax.faces.bean package
2.5.1 @ManagedBean
2.6 javax.interceptor package
2.6.1 @AroundInvoke
2.6.2 @ExcludeClassInterceptors
2.6.3 @ExcludeDefaultInterceptors
2.6.4 @Interceptors
2.7 javax.persistence package
2.7.1 @AssociationOverride
2.7.2 @AssociationOverrides
2.7.3 @AttributeOverride
2.7.4 @AttributeOverrides
2.7.5 @Basic
2.7.6 @Column
2.7.7 @ColumnResult
2.7.8 @DiscriminatorColumn
2.7.9 @DiscriminatorValue
2.7.10 @Embeddable
2.7.11 @Embedded
2.7.12 @EmbeddedId
2.7.13 @Entity
2.7.14 @EntityListeners
2.7.15 @EntityResult
2.7.16 @Enumerated
2.7.17 @ExcludeDefaultListeners
2.7.18 @ExcludeSuperclassListeners
2.7.19 @FieldResult
2.7.20 @GeneratedValue
2.7.21 @Id
2.7.22 @IdClass
2.7.23 @Inheritance
2.7.24 @JoinColumn
2.7.25 @JoinColumns
2.7.26 @JoinTable
2.7.27 @Lob
2.7.28 @ManyToMany
2.7.29 @ManyToOne
2.7.30 @MapKey
2.7.31 @MappedSuperclass
2.7.32 @NamedNativeQueries
2.7.33 @NamedNativeQuery
2.7.34 @NamedQueries
2.7.35 @NamedQuery
2.7.36 @OneToMany
2.7.37 @OneToOne
2.7.38 @OrderBy
2.7.39 @PersistenceContext
2.7.40 @PersistenceContexts
2.7.41 @PersistenceProperty
2.7.42 @PersistenceUnit
2.7.43 @PersistenceUnits
2.7.44 @PostLoad
2.7.45 @PostPersist
2.7.46 @PostRemove
2.7.47 @PostUpdate
2.7.48 @PrePersist
2.7.49 @PreRemove
2.7.50 @PreUpdate
2.7.51 @PrimaryKeyJoinColumn
2.7.52 @PrimaryKeyJoinColumns
2.7.53 @QueryHint
2.7.54 @SecondaryTable
2.7.55 @SecondaryTables
2.7.56 @SequenceGenerator
2.7.57 @SqlResultSetMapping
2.7.58 @SqlResultSetMappings
2.7.59 @Table
2.7.60 @TableGenerator
2.7.61 @Temporal
2.7.62 @Transient
2.7.63 @Version
2.7.64 Correspondence between the annotations and O/R mapping
2.8 javax.servlet.annotation package
2.8.1 @HandlesTypes
2.8.2 @HttpConstraint
2.8.3 @HttpMethodConstraint
2.8.4 @MultipartConfig
2.8.5 @ServletSecurity
2.8.6 @WebInitParam
2.8.7 @WebFilter
2.8.8 @WebListener
2.8.9 @WebServlet
2.9 Dependency Injection supported on Cosminexus Application Server
3. APIs Used in the Web Container
3.1 Exception classes
4. APIs Used by EJB Client Applications
4.1 List of APIs used by EJB client applications
4.2 EJBClientInitializer Class
Initialize method
4.3 RequestTimeoutConfigFactory Class
getRequestTimeoutConfig method
4.4 RequestTimeoutConfig Class
setRequestTimeout method (format 1)
setRequestTimeout method (format 2)
unsetRequestTimeout method
4.5 UserTransactionFactory class
getUserTransaction method
4.6 Exception Class
5. APIs Used When Using the TP1 Inbound Adapter to Link with OpenTP1(INTENTIONALLY DELETED)
5.1 (INTENTIONALLY DELETED)
6. APIs Used in the Asynchronous Parallel Processing of Threads
6.1 List of Cosminexus APIs that differ in operation from Timer and Work Manager for Application Servers specifications
7. APIs Used in the User Log Functionality
7.1 List of APIs used in the user log functionality
7.2 CJLogRecord Class
create Method (Format 1)
create Method (Format 2)
create Method (Format 3)
create Method (Format 4)
create Method (Format 5)
create Method (Format 6)
create Method (Format 7)
create Method (Format 8)
create Method (Format 9)
create Method (Format 10)
createp Method (Format 1)
createp Method (Format 2)
createp Method (Format 3)
createp Method (Format 4)
createp Method (Format 5)
createp Method (Format 6)
createp Method (Format 7)
createp Method (Format 8)
createp Method (Format 9)
createp Method (Format 10)
createrb Method (Format 1)
createrb Method (Format 2)
createrb Method (Format 3)
createrb Method (Format 4)
createrb Method (Format 5)
createrb Method (Format 6)
createrb Method (Format 7)
createrb Method (Format 8)
createrb Method (Format 9)
createrb Method (Format 10)
8. APIs Used to Output Audit Logs (INTENTIONALLY DELETED)
8.1 (INTENTIONALLY DELETED)
9. APIs Used in Performance Analysis Trace
9.1 List of APIs used in performance analysis trace
9.2 CprfTrace Class
getRootApInfo Method
10. APIs Used with JavaVM
10.1 List of APIs used with JavaVM
10.2 BasicExplicitMemory Class
BasicExplicitMemory constructor (Format 1)
BasicExplicitMemory constructor (Format 2)
getName method
10.3 ExplicitMemory Class
countExplicitMemories Method
freeMemory method
getMemoryUsage Method
isActive Method
isReclaimed Method
newArray method (format 1)
newArray method (format 2)
newInstance method (format 1)
newInstance method (format 2)
newInstance method (format 3)
reclaim Method (Format 1)
reclaim Method (Format 2)
reclaim Method (Format 3)
reclaim Method (Format 4)
setName method
toString method
totalMemory method
usedMemory method
10.4 MemoryArea Class
10.5 MemoryInfo Class
getEdenFreeMemory Method
getEdenMaxMemory Method
getEdenTotalMemory Method
getPermFreeMemory Method
getPermMaxMemory Method
getPermTotalMemory Method
getSurvivorFreeMemory Method
getSurvivorMaxMemory Method
getSurvivorTotalMemory Method
getTenuredFreeMemory Method
getTenuredMaxMemory Method
getTenuredTotalMemory Method
10.6 Error check (common error check) of the process that controls the Explicit memory block
10.7 Exception classes
11. Properties that can be Used During Application Development
11.1 Properties that can be used in a batch application
ejbserver.batch.currentdir property
Appendixes
A. JavaAPI Classes in which Leakage of the Java Heap Memory Occurs Easily
B. JavaAPI Classes that Implicitly Generate Threads inside JavaVM
B.1 Thread generation process list
Index